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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") 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.627/1.627, allocations: 297.4 MB / 312.6 MB, free: 2.926 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.0009766/0.0009766, allocations: 193.5 kB / 382.3 MB, free: 14.82 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.44/1.44, allocations: 225.7 MB / 0.6617 GB, free: 7.219 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.0007772/0.0007773, allocations: 97.02 kB / 0.7789 GB, free: 46.83 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003673, allocations: 16.69 kB / 0.9059 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7184/0.7188, allocations: 119.2 MB / 1.022 GB, free: 58.22 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03081/0.7496, allocations: 32.36 MB / 1.054 GB, free: 36.93 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01701/0.7667, allocations: 12.91 MB / 1.066 GB, free: 26.36 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004342/0.7711, allocations: 121.9 kB / 1.067 GB, free: 26.32 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.7739, allocations: 0.7029 MB / 1.067 GB, free: 25.89 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006252/0.7801, allocations: 1.922 MB / 1.069 GB, free: 24.73 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004671/0.7848, allocations: 1.606 MB / 1.071 GB, free: 23.78 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01205/0.7969, allocations: 11.19 MB / 1.082 GB, free: 20 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01803/0.815, allocations: 17.15 MB / 1.098 GB, free: 8.602 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005991/0.821, allocations: 2.471 MB / 1.101 GB, free: 7.598 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007546/0.8286, allocations: 3.19 MB / 1.104 GB, free: 6.402 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001824/0.8305, allocations: 281.2 kB / 1.104 GB, free: 6.402 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004556/0.835, allocations: 1.234 MB / 1.105 GB, free: 6.051 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003576/0.8386, allocations: 2.067 MB / 1.107 GB, free: 5.371 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.005448/0.8441, allocations: 2.523 MB / 1.11 GB, free: 3.816 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01425/0.8584, allocations: 9.866 MB / 1.12 GB, free: 1.598 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.8584, allocations: 0.9688 kB / 1.12 GB, free: 1.598 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.298e-06/0.8584, allocations: 0.5625 kB / 1.12 GB, free: 1.598 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004309/0.8588, allocations: 0 / 1.12 GB, free: 1.598 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01394/0.8728, allocations: 4.358 MB / 1.124 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.8729, allocations: 9 kB / 1.124 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006966/0.8798, allocations: 0.9646 MB / 1.125 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008371/0.8882, allocations: 3 MB / 1.128 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004706/0.8888, allocations: 353.9 kB / 1.128 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002854/0.8916, allocations: 464.9 kB / 1.128 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02627/0.9179, allocations: 7.876 MB / 1.136 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000158/0.9181, allocations: 24.5 kB / 1.136 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007743/0.9189, allocations: 208.4 kB / 1.136 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006502/0.9196, allocations: 364.8 kB / 1.137 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01444/0.934, allocations: 5.897 MB / 1.142 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04891/0.983, allocations: 36.26 MB / 1.178 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003323/0.9863, allocations: 2.135 MB / 1.18 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/0.9883, allocations: 1.48 MB / 1.181 GB, free: 9.703 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.259e-05/0.9884, allocations: 21.25 kB / 1.181 GB, free: 9.68 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/0.9884, allocations: 55.81 kB / 1.181 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=157): time 3.887e-06/0.9884, allocations: 4 kB / 1.181 GB, free: 9.613 MB / 0.7605 GB Notification: Performance of matching and sorting (n=160): time 0.01354/1.002, allocations: 7.552 MB / 1.189 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/1.002, allocations: 68.72 kB / 1.189 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002436/1.005, allocations: 1.845 MB / 1.191 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001482/1.005, allocations: 53.7 kB / 1.191 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001498/1.006, allocations: 2.127 MB / 1.193 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006389/1.007, allocations: 0.5546 MB / 1.193 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/1.007, allocations: 48 kB / 1.193 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002233/1.007, allocations: 390.3 kB / 1.194 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/1.009, allocations: 1.051 MB / 1.195 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001974/1.011, allocations: 1.756 MB / 1.197 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00373/1.015, allocations: 3.037 MB / 1.2 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/1.015, allocations: 8 kB / 1.2 GB, free: 6.148 MB / 0.7761 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006744/1.021, allocations: 3.901 MB / 1.203 GB, free: 2.199 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/1.021, allocations: 19.91 kB / 1.203 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/1.022, allocations: 28.16 kB / 1.203 GB, free: 2.152 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002396/1.024, allocations: 0.9389 MB / 1.204 GB, free: 1.176 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.025, allocations: 427.3 kB / 1.205 GB, free: 0.7578 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0212/1.047, allocations: 21.05 MB / 1.225 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/1.049, allocations: 135.8 kB / 1.225 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004787/1.05, allocations: 92 kB / 1.225 GB, free: 9.879 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 (227): * Single equations (assignments): 215 * 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%), (2,6,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.004035/1.054, allocations: 1.647 MB / 1.227 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008461/1.055, allocations: 253 kB / 1.227 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006427/1.061, allocations: 3.26 MB / 1.231 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/1.061, allocations: 16 kB / 1.231 GB, free: 4.641 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.705e-05/1.061, allocations: 8 kB / 1.231 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/1.061, allocations: 15.91 kB / 1.231 GB, free: 4.617 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01581/1.077, allocations: 7.53 MB / 1.238 GB, free: 12.93 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/1.077, allocations: 4 kB / 1.238 GB, free: 12.93 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009502/1.078, allocations: 219.6 kB / 1.238 GB, free: 12.71 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0024/1.081, allocations: 0.8886 MB / 1.239 GB, free: 11.79 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/1.081, allocations: 39.94 kB / 1.239 GB, free: 11.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02031/1.101, allocations: 21.02 MB / 1.26 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/1.101, allocations: 8 kB / 1.26 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006469/1.108, allocations: 3.367 MB / 1.263 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/1.109, allocations: 0.533 MB / 1.263 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008055/1.11, allocations: 39.98 kB / 1.263 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/1.112, allocations: 87.89 kB / 1.263 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004399/1.112, allocations: 145 kB / 1.264 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/1.112, allocations: 44 kB / 1.264 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002216/1.114, allocations: 1.201 MB / 1.265 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.31e-07/1.115, allocations: 4 kB / 1.265 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003891/1.118, allocations: 0.9023 MB / 1.266 GB, free: 14.66 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003606/1.119, allocations: 168.6 kB / 1.266 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007132/1.126, allocations: 4.409 MB / 1.27 GB, free: 9.93 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.607e-05/1.126, allocations: 4 kB / 1.27 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004885/1.131, allocations: 3 MB / 1.273 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005494/1.136, allocations: 0.7707 MB / 1.274 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/1.154, allocations: 9.701 MB / 1.283 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003613/1.157, allocations: 3.213 MB / 1.286 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002219/1.16, allocations: 0.5215 MB / 1.287 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003951/1.16, allocations: 139.4 kB / 1.287 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of SimCode: time 8.01e-07/1.16, allocations: 0 / 1.287 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of Templates: time 0.5652/1.725, allocations: 40.91 MB / 1.327 GB, free: 240.7 MB / 0.9011 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)