Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 297.4 MB / 312.6 MB, free: 2.914 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.001383/0.001383, allocations: 178 kB / 382.3 MB, free: 14.85 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.458/1.458, allocations: 225.7 MB / 0.6617 GB, free: 7.238 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.000871/0.0008712, allocations: 92.23 kB / 0.7789 GB, free: 46.94 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000494/0.0004941, allocations: 9.656 kB / 0.9058 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7129/0.7134, allocations: 119.2 MB / 1.022 GB, free: 58.06 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05732/0.7708, allocations: 34.97 MB / 1.056 GB, free: 35 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02827/0.7991, allocations: 13.96 MB / 1.07 GB, free: 23.71 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005282/0.8045, allocations: 128.7 kB / 1.07 GB, free: 23.67 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004196/0.8087, allocations: 0.7841 MB / 1.071 GB, free: 23.2 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008845/0.8176, allocations: 2.099 MB / 1.073 GB, free: 21.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007808/0.8254, allocations: 1.784 MB / 1.075 GB, free: 20.86 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01887/0.8443, allocations: 13.17 MB / 1.088 GB, free: 16.48 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03529/0.8797, allocations: 20.48 MB / 1.108 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00836/0.8881, allocations: 2.912 MB / 1.11 GB, free: 1.637 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01064/0.8988, allocations: 3.847 MB / 1.114 GB, free: 216 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.00372/0.9026, allocations: 345.4 kB / 1.115 GB, free: 216 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00898/0.9116, allocations: 1.298 MB / 1.116 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.007678/0.9193, allocations: 2.483 MB / 1.118 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.011/0.9304, allocations: 2.96 MB / 1.121 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.02297/0.9534, allocations: 11.68 MB / 1.133 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.9534, allocations: 0 / 1.133 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.938e-06/0.9535, allocations: 4 kB / 1.133 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0006735/0.9541, allocations: 0 / 1.133 GB, free: 10.64 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01988/0.974, allocations: 5.083 MB / 1.137 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.9741, allocations: 9.656 kB / 1.137 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008256/0.9824, allocations: 1.067 MB / 1.139 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01164/0.9941, allocations: 3.43 MB / 1.142 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007001/0.9948, allocations: 423.7 kB / 1.142 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004207/0.999, allocations: 0.5394 MB / 1.143 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03262/1.032, allocations: 9.334 MB / 1.152 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002535/1.032, allocations: 31.72 kB / 1.152 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0018/1.034, allocations: 252 kB / 1.152 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008849/1.035, allocations: 418.9 kB / 1.153 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01779/1.053, allocations: 7.08 MB / 1.16 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04962/1.102, allocations: 41.37 MB / 1.2 GB, free: 6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004742/1.107, allocations: 3.092 MB / 1.203 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002809/1.11, allocations: 2.118 MB / 1.205 GB, free: 0.7812 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/1.11, allocations: 22 kB / 1.205 GB, free: 0.7617 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/1.11, allocations: 60.56 kB / 1.205 GB, free: 0.6914 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=209): time 4.759e-06/1.11, allocations: 4 kB / 1.205 GB, free: 0.6875 MB / 0.7761 GB Notification: Performance of matching and sorting (n=212): time 0.02401/1.134, allocations: 10.58 MB / 1.215 GB, free: 6.004 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/1.134, allocations: 81.34 kB / 1.216 GB, free: 5.914 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002688/1.137, allocations: 1.986 MB / 1.217 GB, free: 3.91 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002274/1.137, allocations: 65.7 kB / 1.218 GB, free: 3.84 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001546/1.139, allocations: 2.408 MB / 1.22 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007552/1.139, allocations: 0.7279 MB / 1.221 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/1.14, allocations: 52 kB / 1.221 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002503/1.14, allocations: 415.4 kB / 1.221 GB, free: 204 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002236/1.142, allocations: 1.36 MB / 1.222 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002823/1.145, allocations: 2.096 MB / 1.224 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005243/1.15, allocations: 3.754 MB / 1.228 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/1.15, allocations: 7.938 kB / 1.228 GB, free: 8.348 MB / 0.8073 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008299/1.158, allocations: 5.053 MB / 1.233 GB, free: 3.27 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/1.159, allocations: 15.91 kB / 1.233 GB, free: 3.254 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.569e-05/1.159, allocations: 24 kB / 1.233 GB, free: 3.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003793/1.162, allocations: 1.546 MB / 1.235 GB, free: 1.676 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/1.164, allocations: 459.2 kB / 1.235 GB, free: 1.227 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02129/1.186, allocations: 17.07 MB / 1.252 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002999/1.189, allocations: 143.9 kB / 1.252 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003589/1.189, allocations: 112 kB / 1.252 GB, free: 15.37 MB / 0.8386 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 (231): * Single equations (assignments): 227 * 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): 4 systems {(6,32,69.4%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003943/1.193, allocations: 1.943 MB / 1.254 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006247/1.194, allocations: 292.6 kB / 1.254 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007019/1.201, allocations: 4.439 MB / 1.258 GB, free: 8.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/1.201, allocations: 20 kB / 1.258 GB, free: 8.641 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-05/1.201, allocations: 19.98 kB / 1.258 GB, free: 8.621 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/1.201, allocations: 7.969 kB / 1.258 GB, free: 8.613 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/1.217, allocations: 9.645 MB / 1.268 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/1.217, allocations: 4 kB / 1.268 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/1.218, allocations: 235.6 kB / 1.268 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003813/1.222, allocations: 1.429 MB / 1.27 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002467/1.222, allocations: 44 kB / 1.27 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0206/1.243, allocations: 17.08 MB / 1.286 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/1.243, allocations: 11.94 kB / 1.286 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007587/1.25, allocations: 4.513 MB / 1.291 GB, free: 6.883 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002091/1.252, allocations: 0.6382 MB / 1.291 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006291/1.253, allocations: 40 kB / 1.291 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/1.254, allocations: 123.8 kB / 1.291 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006166/1.255, allocations: 177.6 kB / 1.292 GB, free: 5.887 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/1.255, allocations: 63.94 kB / 1.292 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001936/1.257, allocations: 1.295 MB / 1.293 GB, free: 4.52 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.41e-07/1.257, allocations: 0 / 1.293 GB, free: 4.52 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004037/1.261, allocations: 1.145 MB / 1.294 GB, free: 3.375 MB / 0.8698 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 (107): * Single equations (assignments): 103 * 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): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003599/1.262, allocations: 180.2 kB / 1.294 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007711/1.269, allocations: 4.677 MB / 1.299 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.269, allocations: 4 kB / 1.299 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004692/1.274, allocations: 2.918 MB / 1.302 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005437/1.279, allocations: 0.8233 MB / 1.302 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0204/1.3, allocations: 11.74 MB / 1.314 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005299/1.305, allocations: 3.698 MB / 1.318 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002503/1.308, allocations: 0.5556 MB / 1.318 GB, free: 10.56 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004049/1.308, allocations: 147.4 kB / 1.318 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of SimCode: time 3.737e-06/1.308, allocations: 0 / 1.318 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of Templates: time 0.536/1.844, allocations: 50.15 MB / 1.367 GB, free: 237.1 MB / 0.9011 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)