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.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.766/1.766, allocations: 306.1 MB / 321.4 MB, free: 10.74 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.0009993/0.0009993, allocations: 183.3 kB / 393.1 MB, free: 4.066 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.425/1.425, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.000779/0.0007792, allocations: 92.14 kB / 0.7935 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003555, allocations: 8 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6286/0.6289, allocations: 121.3 MB / 1.041 GB, free: 58.81 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01049/0.6395, allocations: 10.84 MB / 1.051 GB, free: 51.61 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008473/0.648, allocations: 8.09 MB / 1.059 GB, free: 44.5 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.6491, allocations: 30.28 kB / 1.059 GB, free: 44.5 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.6502, allocations: 306 kB / 1.06 GB, free: 44.34 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.6519, allocations: 0.5828 MB / 1.06 GB, free: 44 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.6538, allocations: 0.6254 MB / 1.061 GB, free: 43.64 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0037/0.6575, allocations: 3.597 MB / 1.064 GB, free: 42.5 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005373/0.6629, allocations: 5.365 MB / 1.07 GB, free: 39.22 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001445/0.6644, allocations: 0.7365 MB / 1.07 GB, free: 38.94 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.6658, allocations: 1.03 MB / 1.071 GB, free: 38.56 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.6661, allocations: 100.1 kB / 1.071 GB, free: 38.55 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.6673, allocations: 479.2 kB / 1.072 GB, free: 38.43 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006777/0.668, allocations: 0.7061 MB / 1.073 GB, free: 38.2 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007305/0.6687, allocations: 0.8132 MB / 1.073 GB, free: 37.68 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002604/0.6713, allocations: 3.432 MB / 1.077 GB, free: 36.95 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.6713, allocations: 0 / 1.077 GB, free: 36.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6713, allocations: 0 / 1.077 GB, free: 36.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.747e-05/0.6714, allocations: 0 / 1.077 GB, free: 36.95 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.002612/0.674, allocations: 1.625 MB / 1.078 GB, free: 35.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.674, allocations: 9.438 kB / 1.078 GB, free: 35.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/0.6761, allocations: 482.7 kB / 1.079 GB, free: 35.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.6777, allocations: 1.149 MB / 1.08 GB, free: 35.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.952e-05/0.6778, allocations: 119.1 kB / 1.08 GB, free: 35.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.678, allocations: 150.3 kB / 1.08 GB, free: 35.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003894/0.6819, allocations: 2.74 MB / 1.083 GB, free: 34.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/0.6819, allocations: 3.188 kB / 1.083 GB, free: 34.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/0.6821, allocations: 63.44 kB / 1.083 GB, free: 34.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003174/0.6824, allocations: 170.4 kB / 1.083 GB, free: 34.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003452/0.6859, allocations: 2.287 MB / 1.085 GB, free: 33.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/0.6962, allocations: 10.55 MB / 1.096 GB, free: 25.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009007/0.6971, allocations: 0.5647 MB / 1.096 GB, free: 25.44 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/0.6977, allocations: 393.5 kB / 1.097 GB, free: 25.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.856e-05/0.6978, allocations: 96.02 kB / 1.097 GB, free: 25.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.6978, allocations: 41 kB / 1.097 GB, free: 25.15 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.685e-06/0.6978, allocations: 0 / 1.097 GB, free: 25.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.01936/0.7172, allocations: 6.264 MB / 1.103 GB, free: 23.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.7173, allocations: 87.02 kB / 1.103 GB, free: 23.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.7191, allocations: 0.8964 MB / 1.104 GB, free: 23.24 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.7192, allocations: 35.73 kB / 1.104 GB, free: 23.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005348/0.7197, allocations: 0.7558 MB / 1.105 GB, free: 22.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.7199, allocations: 183.1 kB / 1.105 GB, free: 22.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.055e-05/0.72, allocations: 19.88 kB / 1.105 GB, free: 22.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.7201, allocations: 387.2 kB / 1.105 GB, free: 22.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.7212, allocations: 0.6407 MB / 1.106 GB, free: 21.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.7224, allocations: 1.002 MB / 1.107 GB, free: 21.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/0.7245, allocations: 1.669 MB / 1.108 GB, free: 20.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.7245, allocations: 3.281 kB / 1.108 GB, free: 20.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008946/0.7334, allocations: 3.205 MB / 1.111 GB, free: 19.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002331/0.7337, allocations: 439.5 kB / 1.112 GB, free: 18.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/0.7337, allocations: 12.2 kB / 1.112 GB, free: 18.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008096/0.7418, allocations: 1.86 MB / 1.114 GB, free: 18.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009441/0.7428, allocations: 224.7 kB / 1.114 GB, free: 18.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/0.7565, allocations: 10.22 MB / 1.124 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.758, allocations: 176.3 kB / 1.124 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.7581, allocations: 45.77 kB / 1.124 GB, free: 11.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.7581, allocations: 7.75 kB / 1.124 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006924/0.7651, allocations: 2.619 MB / 1.127 GB, free: 9.949 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/0.7651, allocations: 12.66 kB / 1.127 GB, free: 9.938 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005012/0.7702, allocations: 1.202 MB / 1.128 GB, free: 9.172 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000963/0.7711, allocations: 255.7 kB / 1.128 GB, free: 8.973 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00665/0.7778, allocations: 5.537 MB / 1.133 GB, free: 3.891 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.779, allocations: 151.8 kB / 1.134 GB, free: 3.742 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.7791, allocations: 44 kB / 1.134 GB, free: 3.699 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001297/0.7804, allocations: 0.8362 MB / 1.135 GB, free: 2.852 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.7807, allocations: 83 kB / 1.135 GB, free: 2.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007096/0.7878, allocations: 2.688 MB / 1.137 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.7878, allocations: 4 kB / 1.137 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.7878, allocations: 0 / 1.137 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.7878, allocations: 4 kB / 1.137 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/0.8007, allocations: 4.624 MB / 1.142 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.8007, allocations: 0 / 1.142 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004237/0.8011, allocations: 112 kB / 1.142 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006939/0.8081, allocations: 1.704 MB / 1.144 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.963e-05/0.8082, allocations: 12 kB / 1.144 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/0.8207, allocations: 9.768 MB / 1.153 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.8208, allocations: 11.91 kB / 1.153 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00761/0.8284, allocations: 2.648 MB / 1.156 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006677/0.8291, allocations: 288 kB / 1.156 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00026/0.8293, allocations: 12 kB / 1.156 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009279/0.8303, allocations: 139.7 kB / 1.156 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/0.8306, allocations: 51.88 kB / 1.156 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.835e-05/0.8306, allocations: 20 kB / 1.156 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00104/0.8317, allocations: 0.6356 MB / 1.157 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8317, allocations: 0 / 1.157 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002966/0.8347, allocations: 0.5859 MB / 1.157 GB, free: 10.71 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * 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): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003682/0.8351, allocations: 133.6 kB / 1.157 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005645/0.8407, allocations: 3.231 MB / 1.161 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.8407, allocations: 0 / 1.161 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001965/0.8427, allocations: 1.272 MB / 1.162 GB, free: 5.941 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.8442, allocations: 223.2 kB / 1.162 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005951/0.8502, allocations: 3.682 MB / 1.166 GB, free: 2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001724/0.8519, allocations: 1.622 MB / 1.167 GB, free: 352 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001398/0.8533, allocations: 490.6 kB / 1.168 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.8535, allocations: 59.42 kB / 1.168 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of SimCode: time 7.72e-07/0.8535, allocations: 0 / 1.168 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of Templates: time 0.03888/0.8924, allocations: 23.76 MB / 1.191 GB, free: 8.164 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)