Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001318/0.001318, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8017/0.8017, allocations: 122.9 MB / 414.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 59.31 kB / 0.5685 GB, free: 28.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2141, allocations: 77.93 MB / 0.6446 GB, free: 8.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.02357/0.2377, allocations: 11.84 MB / 0.6561 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01261/0.2504, allocations: 5.494 MB / 0.6615 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.252, allocations: 39.81 kB / 0.6615 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003436/0.2556, allocations: 1.032 MB / 0.6625 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.2578, allocations: 0.6491 MB / 0.6632 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002739/0.2605, allocations: 0.9166 MB / 0.6641 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003383/0.2639, allocations: 2.47 MB / 0.6665 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004589/0.2685, allocations: 3.511 MB / 0.6699 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.2705, allocations: 1.106 MB / 0.671 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002351/0.2729, allocations: 1.211 MB / 0.6722 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007436/0.2737, allocations: 232 kB / 0.6724 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.2754, allocations: 0.5228 MB / 0.6729 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001464/0.2769, allocations: 0.9006 MB / 0.6738 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002123/0.279, allocations: 1 MB / 0.6748 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004221/0.2833, allocations: 3.571 MB / 0.6783 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.2833, allocations: 0 / 0.6783 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2833, allocations: 0 / 0.6783 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.449e-05/0.2834, allocations: 0 / 0.6783 GB, free: 6.367 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.004041/0.2874, allocations: 1.981 MB / 0.6802 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.2875, allocations: 12.56 kB / 0.6802 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002582/0.2901, allocations: 0.4916 MB / 0.6807 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/0.292, allocations: 1.129 MB / 0.6818 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.76e-05/0.2921, allocations: 115.4 kB / 0.6819 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000268/0.2924, allocations: 156.1 kB / 0.682 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00451/0.2969, allocations: 2.751 MB / 0.6847 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.002e-05/0.297, allocations: 4 kB / 0.6847 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.2972, allocations: 67.98 kB / 0.6848 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002911/0.2975, allocations: 150.9 kB / 0.6849 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003785/0.3012, allocations: 2.299 MB / 0.6872 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/0.3139, allocations: 10.41 MB / 0.6974 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.3152, allocations: 0.6116 MB / 0.698 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000691/0.3159, allocations: 404.4 kB / 0.6983 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.3161, allocations: 92.95 kB / 0.6984 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.3161, allocations: 42.44 kB / 0.6985 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=36): time 3.767e-06/0.3161, allocations: 0 / 0.6985 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52): time 0.02084/0.337, allocations: 5.849 MB / 0.7042 GB, free: 10.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.3371, allocations: 59.84 kB / 0.7042 GB, free: 10.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.3385, allocations: 0.879 MB / 0.7051 GB, free: 9.707 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.3386, allocations: 37.7 kB / 0.7051 GB, free: 9.664 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000571/0.3392, allocations: 0.7799 MB / 0.7059 GB, free: 8.875 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.3394, allocations: 194.4 kB / 0.7061 GB, free: 8.684 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003623/0.3398, allocations: 198.5 kB / 0.7063 GB, free: 8.484 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.34, allocations: 386.8 kB / 0.7066 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.3411, allocations: 0.6527 MB / 0.7073 GB, free: 7.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.3426, allocations: 1.014 MB / 0.7083 GB, free: 6.262 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002543/0.3452, allocations: 1.67 MB / 0.7099 GB, free: 4.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.3452, allocations: 4 kB / 0.7099 GB, free: 4.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008558/0.3537, allocations: 3.124 MB / 0.7129 GB, free: 1.277 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.3538, allocations: 12.38 kB / 0.713 GB, free: 1.266 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.3538, allocations: 19.97 kB / 0.713 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006523/0.3604, allocations: 1.642 MB / 0.7146 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.3614, allocations: 235.6 kB / 0.7148 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01379/0.3752, allocations: 10.59 MB / 0.7251 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.3767, allocations: 167.7 kB / 0.7253 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.594e-05/0.3768, allocations: 47.98 kB / 0.7253 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002226/0.379, allocations: 1.314 MB / 0.7266 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001321/0.3804, allocations: 0.9825 MB / 0.7276 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002402/0.3828, allocations: 1.619 MB / 0.7292 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.953e-06/0.3828, allocations: 4 kB / 0.7292 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.006996/0.3898, allocations: 2.654 MB / 0.7318 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3899, allocations: 12.38 kB / 0.7318 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.3899, allocations: 16 kB / 0.7318 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0042/0.3941, allocations: 1.063 MB / 0.7328 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.3951, allocations: 243.6 kB / 0.7331 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007257/0.4024, allocations: 5.76 MB / 0.7387 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.4038, allocations: 155.7 kB / 0.7388 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.03e-05/0.4039, allocations: 55.97 kB / 0.7389 GB, free: 5.504 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003492/0.4042, allocations: 239.9 kB / 0.7391 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.4044, allocations: 79.53 kB / 0.7392 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007407/0.4118, allocations: 2.575 MB / 0.7417 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/0.4118, allocations: 4 kB / 0.7417 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.4119, allocations: 4 kB / 0.7417 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.4119, allocations: 0 / 0.7417 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.434/0.8459, allocations: 4.467 MB / 0.7461 GB, free: 91.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.8459, allocations: 3.438 kB / 0.7461 GB, free: 91.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004218/0.8463, allocations: 101.1 kB / 0.7462 GB, free: 91.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006275/0.8526, allocations: 1.498 MB / 0.7476 GB, free: 91.08 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.285e-05/0.8527, allocations: 9.719 kB / 0.7477 GB, free: 91.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01224/0.865, allocations: 10.14 MB / 0.7576 GB, free: 84.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.865, allocations: 5.938 kB / 0.7576 GB, free: 84.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007178/0.8722, allocations: 2.506 MB / 0.76 GB, free: 83.78 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006221/0.8729, allocations: 263 kB / 0.7603 GB, free: 83.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.873, allocations: 15.5 kB / 0.7603 GB, free: 83.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008345/0.8738, allocations: 120.8 kB / 0.7604 GB, free: 83.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002881/0.8741, allocations: 51.73 kB / 0.7604 GB, free: 83.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/0.8742, allocations: 16.09 kB / 0.7605 GB, free: 83.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001018/0.8752, allocations: 0.6442 MB / 0.7611 GB, free: 83.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.51e-07/0.8752, allocations: 0.5625 kB / 0.7611 GB, free: 83.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002594/0.8778, allocations: 0.5891 MB / 0.7617 GB, free: 83.3 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): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002217/0.8781, allocations: 124.8 kB / 0.7618 GB, free: 83.21 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005749/0.8838, allocations: 3.139 MB / 0.7648 GB, free: 81.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.8839, allocations: 0 / 0.7648 GB, free: 81.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001848/0.8857, allocations: 1.184 MB / 0.766 GB, free: 81.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.8871, allocations: 239.2 kB / 0.7662 GB, free: 80.97 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005089/0.8922, allocations: 3.021 MB / 0.7692 GB, free: 79.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/0.8935, allocations: 1.617 MB / 0.7708 GB, free: 78.74 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001225/0.8947, allocations: 0.4883 MB / 0.7712 GB, free: 78.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.8949, allocations: 61.97 kB / 0.7713 GB, free: 78.71 MB / 0.5762 GB Notification: Performance of SimCode: time 1.443e-06/0.8949, allocations: 3.828 kB / 0.7713 GB, free: 78.71 MB / 0.5762 GB Notification: Performance of Templates: time 0.03012/0.9251, allocations: 25.18 MB / 0.7959 GB, free: 59.22 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)