Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 100.3 kB / 16.4 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 192 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7825/0.7825, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.73 kB / 0.5685 GB, free: 28.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2065, allocations: 77.94 MB / 0.6446 GB, free: 8.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01403/0.2206, allocations: 11.95 MB / 0.6563 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009389/0.23, allocations: 5.708 MB / 0.6619 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.2315, allocations: 39.81 kB / 0.6619 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002967/0.2345, allocations: 1.047 MB / 0.6629 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.2366, allocations: 0.6646 MB / 0.6636 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.2392, allocations: 0.9693 MB / 0.6645 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00299/0.2422, allocations: 2.59 MB / 0.667 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004011/0.2462, allocations: 3.787 MB / 0.6707 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001956/0.2482, allocations: 1.188 MB / 0.6719 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.25, allocations: 1.332 MB / 0.6732 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003818/0.2504, allocations: 252 kB / 0.6734 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.2516, allocations: 0.5696 MB / 0.674 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009339/0.2526, allocations: 0.9395 MB / 0.6749 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001315/0.2539, allocations: 1.062 MB / 0.676 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004548/0.2585, allocations: 3.863 MB / 0.6797 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.2585, allocations: 0 / 0.6797 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2585, allocations: 0 / 0.6797 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001079/0.2586, allocations: 0 / 0.6797 GB, free: 4.906 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.005928/0.2646, allocations: 2.137 MB / 0.6818 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.2646, allocations: 8.625 kB / 0.6818 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003504/0.2681, allocations: 0.7449 MB / 0.6825 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002698/0.2709, allocations: 1.228 MB / 0.6837 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.271, allocations: 119.6 kB / 0.6839 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003385/0.2713, allocations: 164.1 kB / 0.684 GB, free: 416 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006208/0.2776, allocations: 2.96 MB / 0.6869 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.766e-05/0.2777, allocations: 11.86 kB / 0.6869 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003922/0.2781, allocations: 67.98 kB / 0.687 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004089/0.2785, allocations: 163.1 kB / 0.6871 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004642/0.2831, allocations: 2.522 MB / 0.6896 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01541/0.2986, allocations: 10.74 MB / 0.7001 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.3003, allocations: 0.9586 MB / 0.701 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007757/0.3011, allocations: 0.5018 MB / 0.7015 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.3013, allocations: 93.47 kB / 0.7016 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.3013, allocations: 38.94 kB / 0.7016 GB, free: 13.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=46): time 2.735e-06/0.3013, allocations: 4 kB / 0.7017 GB, free: 13.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=70): time 0.02895/0.3303, allocations: 8.104 MB / 0.7096 GB, free: 5.133 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.3304, allocations: 59.97 kB / 0.7096 GB, free: 5.062 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.3319, allocations: 0.9299 MB / 0.7105 GB, free: 4.125 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001382/0.3321, allocations: 33.7 kB / 0.7106 GB, free: 4.086 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005924/0.3327, allocations: 0.7997 MB / 0.7113 GB, free: 3.273 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.3329, allocations: 253.9 kB / 0.7116 GB, free: 3.023 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004055/0.3333, allocations: 218.8 kB / 0.7118 GB, free: 2.801 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3335, allocations: 398.8 kB / 0.7122 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.3349, allocations: 0.8062 MB / 0.713 GB, free: 1.594 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.3364, allocations: 1.155 MB / 0.7141 GB, free: 288 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002929/0.3394, allocations: 1.99 MB / 0.716 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-06/0.3394, allocations: 4 kB / 0.716 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009805/0.3492, allocations: 3.678 MB / 0.7196 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.3493, allocations: 12 kB / 0.7196 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.3493, allocations: 12 kB / 0.7197 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007198/0.3565, allocations: 1.894 MB / 0.7215 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.3578, allocations: 231.6 kB / 0.7217 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01701/0.3748, allocations: 10.6 MB / 0.7321 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.3765, allocations: 187.6 kB / 0.7323 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.3766, allocations: 47.98 kB / 0.7323 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002726/0.3794, allocations: 1.521 MB / 0.7338 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001517/0.3809, allocations: 1.131 MB / 0.7349 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002793/0.3837, allocations: 1.935 MB / 0.7368 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.384e-06/0.3837, allocations: 4 kB / 0.7368 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.007784/0.3915, allocations: 3.104 MB / 0.7398 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.3916, allocations: 11.94 kB / 0.7398 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.3916, allocations: 12 kB / 0.7398 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004559/0.3961, allocations: 1.199 MB / 0.741 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.3974, allocations: 279.5 kB / 0.7413 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4258/0.8231, allocations: 5.844 MB / 0.747 GB, free: 90.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.8248, allocations: 171.3 kB / 0.7471 GB, free: 90.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.8249, allocations: 47.52 kB / 0.7472 GB, free: 90.21 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003307/0.8253, allocations: 246.1 kB / 0.7474 GB, free: 90.03 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.8254, allocations: 91.12 kB / 0.7475 GB, free: 90.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009246/0.8347, allocations: 3.179 MB / 0.7506 GB, free: 89.54 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.8347, allocations: 6.344 kB / 0.7506 GB, free: 89.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.8348, allocations: 3.094 kB / 0.7506 GB, free: 89.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/0.8348, allocations: 4.312 kB / 0.7506 GB, free: 89.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/0.8471, allocations: 5.265 MB / 0.7558 GB, free: 87.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.8471, allocations: 3.781 kB / 0.7558 GB, free: 87.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004283/0.8475, allocations: 95.55 kB / 0.7559 GB, free: 87.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006261/0.8538, allocations: 1.724 MB / 0.7575 GB, free: 87.49 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.8539, allocations: 16.25 kB / 0.7576 GB, free: 87.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0142/0.8682, allocations: 9.997 MB / 0.7673 GB, free: 81.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.8682, allocations: 10.47 kB / 0.7673 GB, free: 81.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008456/0.8767, allocations: 3.03 MB / 0.7703 GB, free: 80.74 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006412/0.8774, allocations: 320.5 kB / 0.7706 GB, free: 80.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.8775, allocations: 15.91 kB / 0.7706 GB, free: 80.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008533/0.8784, allocations: 134.9 kB / 0.7707 GB, free: 80.47 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002989/0.8787, allocations: 65.16 kB / 0.7708 GB, free: 80.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.567e-05/0.8788, allocations: 23.81 kB / 0.7708 GB, free: 80.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008573/0.8796, allocations: 0.6746 MB / 0.7715 GB, free: 80.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8796, allocations: 3.625 kB / 0.7715 GB, free: 80.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002224/0.8819, allocations: 0.691 MB / 0.7722 GB, free: 80 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002214/0.8821, allocations: 128.1 kB / 0.7723 GB, free: 79.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005234/0.8873, allocations: 3.539 MB / 0.7757 GB, free: 77.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.8874, allocations: 2.875 kB / 0.7757 GB, free: 77.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00168/0.889, allocations: 1.252 MB / 0.777 GB, free: 77.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.8902, allocations: 288.4 kB / 0.7772 GB, free: 76.99 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004797/0.895, allocations: 3.491 MB / 0.7807 GB, free: 75.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.8961, allocations: 1.724 MB / 0.7823 GB, free: 73.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00111/0.8972, allocations: 0.5331 MB / 0.7829 GB, free: 73.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.8974, allocations: 59.42 kB / 0.7829 GB, free: 73.1 MB / 0.5762 GB Notification: Performance of SimCode: time 8.72e-07/0.8974, allocations: 0 / 0.7829 GB, free: 73.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.03353/0.931, allocations: 31.98 MB / 0.8141 GB, free: 41.32 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)