Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.751/1.751, allocations: 292.6 MB / 307.8 MB, free: 7.117 MB / 234.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.000961/0.000961, allocations: 192.6 kB / 376.5 MB, free: 4.434 MB / 298.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.538/1.538, allocations: 225.7 MB / 0.655 GB, free: 13.19 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007508/0.0007508, allocations: 101.8 kB / 0.7711 GB, free: 50.35 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004121, allocations: 12.53 kB / 0.897 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7523/0.7527, allocations: 118.2 MB / 1.012 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02815/0.7809, allocations: 31.93 MB / 1.044 GB, free: 44.05 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.7957, allocations: 9.552 MB / 1.053 GB, free: 37.65 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003807/0.7996, allocations: 123.3 kB / 1.053 GB, free: 37.61 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002686/0.8023, allocations: 0.6835 MB / 1.054 GB, free: 37.2 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00623/0.8086, allocations: 1.752 MB / 1.055 GB, free: 36.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004704/0.8133, allocations: 1.209 MB / 1.057 GB, free: 35.66 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01147/0.8248, allocations: 8.938 MB / 1.065 GB, free: 32.25 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01949/0.8443, allocations: 11.98 MB / 1.077 GB, free: 27.55 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00503/0.8494, allocations: 2.432 MB / 1.079 GB, free: 26.59 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005325/0.8547, allocations: 3.13 MB / 1.082 GB, free: 25.47 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0009333/0.8557, allocations: 282.7 kB / 1.083 GB, free: 25.47 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003291/0.859, allocations: 1.221 MB / 1.084 GB, free: 25.13 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001999/0.861, allocations: 2.085 MB / 1.086 GB, free: 24.5 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.003292/0.8643, allocations: 2.425 MB / 1.088 GB, free: 23.04 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.008004/0.8723, allocations: 8.594 MB / 1.097 GB, free: 21.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.8724, allocations: 4 kB / 1.097 GB, free: 21.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.374e-06/0.8724, allocations: 0 / 1.097 GB, free: 21.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002861/0.8727, allocations: 0 / 1.097 GB, free: 21.57 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01004/0.8827, allocations: 4.356 MB / 1.101 GB, free: 19.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.8828, allocations: 10.81 kB / 1.101 GB, free: 19.26 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005098/0.8879, allocations: 0.9617 MB / 1.102 GB, free: 18.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005812/0.8937, allocations: 2.998 MB / 1.105 GB, free: 17.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000231/0.894, allocations: 353.3 kB / 1.105 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009608/0.8949, allocations: 463.7 kB / 1.106 GB, free: 17.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/0.9089, allocations: 7.874 MB / 1.113 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.909, allocations: 23.06 kB / 1.113 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004972/0.9095, allocations: 215.4 kB / 1.114 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006335/0.9102, allocations: 367.4 kB / 1.114 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01091/0.9211, allocations: 5.896 MB / 1.12 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04144/0.9626, allocations: 36.25 MB / 1.155 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003819/0.9664, allocations: 2.141 MB / 1.157 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002387/0.9688, allocations: 1.474 MB / 1.159 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.96e-05/0.969, allocations: 21.09 kB / 1.159 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.163e-05/0.969, allocations: 64.66 kB / 1.159 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=157): time 3.567e-06/0.969, allocations: 0 / 1.159 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=160): time 0.01506/0.9841, allocations: 7.549 MB / 1.166 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.9842, allocations: 72.31 kB / 1.166 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00274/0.9869, allocations: 1.842 MB / 1.168 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.9871, allocations: 53.27 kB / 1.168 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001447/0.9885, allocations: 2.126 MB / 1.17 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005863/0.9891, allocations: 0.5581 MB / 1.171 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.9892, allocations: 44.41 kB / 1.171 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000222/0.9895, allocations: 393.7 kB / 1.171 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001923/0.9914, allocations: 1.05 MB / 1.172 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002365/0.9938, allocations: 1.762 MB / 1.174 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003836/0.9976, allocations: 3.037 MB / 1.177 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.9976, allocations: 4 kB / 1.177 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006297/1.004, allocations: 3.909 MB / 1.181 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/1.004, allocations: 16.03 kB / 1.181 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-05/1.004, allocations: 24 kB / 1.181 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002356/1.006, allocations: 0.9291 MB / 1.181 GB, free: 9.078 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/1.008, allocations: 427.3 kB / 1.182 GB, free: 8.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01962/1.027, allocations: 21.05 MB / 1.202 GB, free: 2.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/1.03, allocations: 123.9 kB / 1.203 GB, free: 1.898 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/1.03, allocations: 99.98 kB / 1.203 GB, free: 1.801 MB / 0.7761 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003661/1.034, allocations: 1.645 MB / 1.204 GB, free: 148 kB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006385/1.035, allocations: 258.6 kB / 1.205 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005231/1.04, allocations: 3.256 MB / 1.208 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/1.04, allocations: 16 kB / 1.208 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/1.04, allocations: 11.98 kB / 1.208 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/1.04, allocations: 7.922 kB / 1.208 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/1.053, allocations: 7.549 MB / 1.215 GB, free: 4.836 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.996e-06/1.053, allocations: 4 kB / 1.215 GB, free: 4.832 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008916/1.054, allocations: 219.6 kB / 1.215 GB, free: 4.617 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002245/1.056, allocations: 0.8922 MB / 1.216 GB, free: 3.688 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/1.056, allocations: 28 kB / 1.216 GB, free: 3.66 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01805/1.074, allocations: 21.03 MB / 1.237 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.074, allocations: 7.938 kB / 1.237 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005527/1.08, allocations: 3.367 MB / 1.24 GB, free: 9.555 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/1.081, allocations: 0.5369 MB / 1.241 GB, free: 8.996 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002988/1.081, allocations: 35.98 kB / 1.241 GB, free: 8.961 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/1.082, allocations: 87.89 kB / 1.241 GB, free: 8.875 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003846/1.083, allocations: 141 kB / 1.241 GB, free: 8.738 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/1.083, allocations: 48 kB / 1.241 GB, free: 8.691 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001734/1.084, allocations: 1.201 MB / 1.242 GB, free: 7.477 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.8e-07/1.084, allocations: 4 kB / 1.242 GB, free: 7.473 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003816/1.088, allocations: 0.904 MB / 1.243 GB, free: 6.57 MB / 0.823 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003151/1.089, allocations: 168.6 kB / 1.243 GB, free: 6.398 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.006962/1.096, allocations: 4.404 MB / 1.247 GB, free: 1.844 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.096, allocations: 0 / 1.247 GB, free: 1.844 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004/1.1, allocations: 3 MB / 1.25 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005376/1.105, allocations: 0.7513 MB / 1.251 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/1.121, allocations: 9.25 MB / 1.26 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00358/1.124, allocations: 3.209 MB / 1.263 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002157/1.126, allocations: 0.5245 MB / 1.264 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/1.127, allocations: 147.4 kB / 1.264 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of SimCode: time 1.132e-06/1.127, allocations: 0 / 1.264 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of Templates: time 0.07484/1.202, allocations: 40.3 MB / 1.303 GB, free: 8.602 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)