Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.731/1.731, allocations: 306.1 MB / 321.4 MB, free: 10.76 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 176.3 kB / 393.1 MB, free: 4.098 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008867/0.0008865, allocations: 87.91 kB / 0.7935 GB, free: 39.9 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003653, allocations: 8 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6363/0.6367, allocations: 121.3 MB / 1.041 GB, free: 57.96 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02928/0.666, allocations: 30.08 MB / 1.07 GB, free: 37.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01722/0.6833, allocations: 15.87 MB / 1.086 GB, free: 23.9 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003796/0.6872, allocations: 129.5 kB / 1.086 GB, free: 23.86 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002797/0.69, allocations: 0.6285 MB / 1.086 GB, free: 23.47 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006114/0.6962, allocations: 1.741 MB / 1.088 GB, free: 22.45 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005902/0.7021, allocations: 1.756 MB / 1.09 GB, free: 21.41 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01372/0.7158, allocations: 10.58 MB / 1.1 GB, free: 17.95 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02575/0.7416, allocations: 17.04 MB / 1.117 GB, free: 6.559 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006088/0.7478, allocations: 2.305 MB / 1.119 GB, free: 5.605 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006536/0.7543, allocations: 2.969 MB / 1.122 GB, free: 4.477 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001954/0.7563, allocations: 266.7 kB / 1.122 GB, free: 4.477 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005851/0.7622, allocations: 1.639 MB / 1.124 GB, free: 3.961 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0048/0.767, allocations: 2.007 MB / 1.126 GB, free: 3.316 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.007954/0.775, allocations: 2.35 MB / 1.128 GB, free: 1.836 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01892/0.794, allocations: 9.65 MB / 1.138 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.794, allocations: 0 / 1.138 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.861e-06/0.794, allocations: 0 / 1.138 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004916/0.7945, allocations: 3.938 kB / 1.138 GB, free: 14.89 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01545/0.81, allocations: 4.022 MB / 1.141 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.8101, allocations: 12.03 kB / 1.142 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007044/0.8171, allocations: 0.9522 MB / 1.142 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007769/0.8249, allocations: 2.862 MB / 1.145 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004732/0.8254, allocations: 345.7 kB / 1.146 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003361/0.8288, allocations: 462.4 kB / 1.146 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02509/0.8539, allocations: 7.635 MB / 1.153 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004799/0.8545, allocations: 31.62 kB / 1.153 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002877/0.8574, allocations: 200 kB / 1.154 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000504/0.8579, allocations: 312.9 kB / 1.154 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01653/0.8744, allocations: 5.667 MB / 1.16 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0503/0.9248, allocations: 35.14 MB / 1.194 GB, free: 3.199 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/0.9279, allocations: 2.156 MB / 1.196 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.9298, allocations: 1.269 MB / 1.197 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.9299, allocations: 17.22 kB / 1.197 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.93, allocations: 43.88 kB / 1.197 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=133): time 4.158e-06/0.93, allocations: 0 / 1.197 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=136): time 0.01506/0.9451, allocations: 7.096 MB / 1.204 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.9452, allocations: 72.66 kB / 1.204 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/0.9477, allocations: 1.472 MB / 1.206 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.9479, allocations: 45.7 kB / 1.206 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001383/0.9493, allocations: 2.008 MB / 1.208 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005357/0.9498, allocations: 489.1 kB / 1.208 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.95, allocations: 36 kB / 1.208 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002136/0.9502, allocations: 381.9 kB / 1.209 GB, free: 3.633 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.9516, allocations: 0.9018 MB / 1.209 GB, free: 2.73 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.9535, allocations: 1.585 MB / 1.211 GB, free: 0.832 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003291/0.9568, allocations: 2.733 MB / 1.214 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.68e-05/0.9568, allocations: 4 kB / 1.214 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006209/0.963, allocations: 3.511 MB / 1.217 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.9631, allocations: 16 kB / 1.217 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.389e-05/0.9632, allocations: 24.12 kB / 1.217 GB, free: 10.19 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002593/0.9658, allocations: 0.9076 MB / 1.218 GB, free: 9.238 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.9671, allocations: 343.4 kB / 1.218 GB, free: 8.902 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01946/0.9865, allocations: 21.21 MB / 1.239 GB, free: 2.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.9885, allocations: 99.92 kB / 1.239 GB, free: 1.992 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003717/0.9889, allocations: 91.98 kB / 1.239 GB, free: 1.902 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003739/0.9926, allocations: 1.608 MB / 1.241 GB, free: 292 kB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005636/0.9932, allocations: 209.6 kB / 1.241 GB, free: 80 kB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005429/0.9986, allocations: 2.974 MB / 1.244 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.9987, allocations: 12 kB / 1.244 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-05/0.9987, allocations: 12 kB / 1.244 GB, free: 13.03 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.9988, allocations: 3.984 kB / 1.244 GB, free: 13.02 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01462/1.013, allocations: 7.328 MB / 1.251 GB, free: 5.461 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/1.013, allocations: 4 kB / 1.251 GB, free: 5.457 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007945/1.014, allocations: 179.7 kB / 1.251 GB, free: 5.281 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002373/1.017, allocations: 0.8224 MB / 1.252 GB, free: 4.422 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/1.017, allocations: 28 kB / 1.252 GB, free: 4.395 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01801/1.035, allocations: 20.31 MB / 1.272 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.035, allocations: 7.938 kB / 1.272 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005645/1.04, allocations: 3.019 MB / 1.275 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/1.042, allocations: 462.5 kB / 1.275 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000427/1.042, allocations: 24 kB / 1.275 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009909/1.043, allocations: 79.91 kB / 1.275 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004019/1.043, allocations: 116.9 kB / 1.276 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.464e-05/1.044, allocations: 40.06 kB / 1.276 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001469/1.045, allocations: 0.9678 MB / 1.277 GB, free: 9.633 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.81e-07/1.045, allocations: 0 / 1.277 GB, free: 9.633 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003294/1.048, allocations: 0.7852 MB / 1.277 GB, free: 8.848 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003196/1.049, allocations: 155.9 kB / 1.277 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006449/1.055, allocations: 4.008 MB / 1.281 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.055, allocations: 0 / 1.281 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003951/1.059, allocations: 2.729 MB / 1.284 GB, free: 1.637 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00442/1.064, allocations: 0.678 MB / 1.285 GB, free: 0.9648 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/1.079, allocations: 9.136 MB / 1.294 GB, free: 7.738 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005468/1.085, allocations: 3.113 MB / 1.297 GB, free: 4.594 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001764/1.087, allocations: 461.9 kB / 1.297 GB, free: 4.141 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/1.087, allocations: 111.4 kB / 1.297 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of SimCode: time 2.494e-06/1.087, allocations: 0 / 1.297 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of Templates: time 0.06505/1.152, allocations: 34.03 MB / 1.33 GB, free: 2.098 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)