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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.787/1.787, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.001008/0.001008, allocations: 183.5 kB / 393.1 MB, free: 4.09 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.552/1.552, allocations: 225.7 MB / 0.6743 GB, free: 12.62 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.000837/0.0008366, allocations: 90.14 kB / 0.7935 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003955, allocations: 9.688 kB / 0.9224 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6366/0.637, allocations: 121.3 MB / 1.041 GB, free: 58.77 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02675/0.6638, allocations: 28.26 MB / 1.068 GB, free: 39.75 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02312/0.687, allocations: 19.14 MB / 1.087 GB, free: 23.3 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00525/0.6923, allocations: 123.5 kB / 1.087 GB, free: 23.25 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00319/0.6955, allocations: 0.6554 MB / 1.088 GB, free: 22.87 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009568/0.7051, allocations: 2.465 MB / 1.09 GB, free: 21.41 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005734/0.7109, allocations: 1.7 MB / 1.092 GB, free: 20.43 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01377/0.7247, allocations: 10.4 MB / 1.102 GB, free: 16.89 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01976/0.7445, allocations: 14.19 MB / 1.116 GB, free: 7.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007509/0.752, allocations: 2.625 MB / 1.119 GB, free: 6.492 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008278/0.7603, allocations: 2.909 MB / 1.121 GB, free: 5.387 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.002149/0.7625, allocations: 248.4 kB / 1.122 GB, free: 5.383 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007544/0.7701, allocations: 1.334 MB / 1.123 GB, free: 4.977 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.005162/0.7753, allocations: 1.88 MB / 1.125 GB, free: 4.355 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.009038/0.7844, allocations: 2.376 MB / 1.127 GB, free: 2.898 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01993/0.8043, allocations: 9 MB / 1.136 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/0.8044, allocations: 0.6094 kB / 1.136 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.817e-06/0.8044, allocations: 3.938 kB / 1.136 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000561/0.805, allocations: 0.9688 kB / 1.136 GB, free: 0.8086 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01694/0.8219, allocations: 4.153 MB / 1.14 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.822, allocations: 8.031 kB / 1.14 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008255/0.8303, allocations: 1.003 MB / 1.141 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00906/0.8394, allocations: 2.886 MB / 1.144 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005289/0.8399, allocations: 320.8 kB / 1.144 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00307/0.843, allocations: 421.1 kB / 1.144 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02278/0.8658, allocations: 6.763 MB / 1.151 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003573/0.8662, allocations: 23.78 kB / 1.151 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002218/0.8685, allocations: 184 kB / 1.151 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009827/0.8695, allocations: 372 kB / 1.152 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01338/0.8829, allocations: 5.079 MB / 1.157 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04805/0.931, allocations: 30.77 MB / 1.187 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002368/0.9334, allocations: 1.383 MB / 1.188 GB, free: 9.773 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0019/0.9353, allocations: 1.333 MB / 1.189 GB, free: 8.441 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.9355, allocations: 25.3 kB / 1.189 GB, free: 8.418 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.9355, allocations: 47.88 kB / 1.189 GB, free: 8.359 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=130): time 3.637e-06/0.9355, allocations: 0 / 1.189 GB, free: 8.359 MB / 0.7605 GB Notification: Performance of matching and sorting (n=199): time 0.08432/1.02, allocations: 22.78 MB / 1.212 GB, free: 1.457 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/1.02, allocations: 77.41 kB / 1.212 GB, free: 1.371 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00447/1.024, allocations: 2.043 MB / 1.214 GB, free: 15.31 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003974/1.025, allocations: 57.7 kB / 1.214 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001748/1.027, allocations: 2.006 MB / 1.216 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009692/1.028, allocations: 0.6777 MB / 1.216 GB, free: 12.53 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003979/1.028, allocations: 48 kB / 1.216 GB, free: 12.48 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003553/1.028, allocations: 406.4 kB / 1.217 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003921/1.032, allocations: 1.422 MB / 1.218 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004467/1.037, allocations: 2.006 MB / 1.22 GB, free: 8.398 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008484/1.045, allocations: 3.677 MB / 1.224 GB, free: 4.484 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.729e-05/1.045, allocations: 4 kB / 1.224 GB, free: 4.48 MB / 0.7917 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01807/1.064, allocations: 5.637 MB / 1.229 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/1.064, allocations: 15.91 kB / 1.229 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.823e-05/1.064, allocations: 20 kB / 1.229 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009792/1.073, allocations: 2.076 MB / 1.231 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/1.076, allocations: 379.4 kB / 1.232 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04371/1.12, allocations: 35.51 MB / 1.266 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/1.123, allocations: 131.9 kB / 1.266 GB, free: 6.188 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003096/1.123, allocations: 88 kB / 1.267 GB, free: 6.102 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.003517/1.127, allocations: 1.518 MB / 1.268 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006734/1.127, allocations: 276.7 kB / 1.268 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/1.138, allocations: 5.192 MB / 1.273 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.738e-05/1.138, allocations: 20 kB / 1.273 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.837e-05/1.138, allocations: 19.94 kB / 1.273 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.313e-05/1.138, allocations: 15.89 kB / 1.273 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01887/1.157, allocations: 9.665 MB / 1.283 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/1.157, allocations: 11.97 kB / 1.283 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009221/1.158, allocations: 215.6 kB / 1.283 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005945/1.164, allocations: 1.842 MB / 1.285 GB, free: 2.984 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003195/1.164, allocations: 44 kB / 1.285 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03398/1.198, allocations: 34.51 MB / 1.319 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/1.198, allocations: 8 kB / 1.319 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009246/1.207, allocations: 4.905 MB / 1.323 GB, free: 8.953 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/1.209, allocations: 0.6148 MB / 1.324 GB, free: 8.316 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004635/1.209, allocations: 44 kB / 1.324 GB, free: 8.273 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/1.211, allocations: 127.8 kB / 1.324 GB, free: 8.148 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006944/1.212, allocations: 193.6 kB / 1.324 GB, free: 7.961 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/1.212, allocations: 56 kB / 1.324 GB, free: 7.906 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002044/1.214, allocations: 1.363 MB / 1.326 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.3e-07/1.214, allocations: 0 / 1.326 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004304/1.218, allocations: 1.035 MB / 1.327 GB, free: 5.5 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004258/1.219, allocations: 176 kB / 1.327 GB, free: 5.316 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.424/1.643, allocations: 6.248 MB / 1.333 GB, free: 238.1 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/1.643, allocations: 2.781 kB / 1.333 GB, free: 238.1 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.006951/1.65, allocations: 4.395 MB / 1.337 GB, free: 236 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007434/1.657, allocations: 0.9082 MB / 1.338 GB, free: 236 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/1.674, allocations: 10.05 MB / 1.348 GB, free: 231.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004005/1.678, allocations: 3.124 MB / 1.351 GB, free: 230.7 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003145/1.681, allocations: 0.524 MB / 1.352 GB, free: 230.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004567/1.682, allocations: 147.4 kB / 1.352 GB, free: 230.7 MB / 0.9011 GB Notification: Performance of SimCode: time 1.042e-06/1.682, allocations: 0 / 1.352 GB, free: 230.7 MB / 0.9011 GB Notification: Performance of Templates: time 0.1129/1.795, allocations: 57 MB / 1.407 GB, free: 216.7 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)