Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007679/0.0007679, allocations: 79.69 kB / 21.74 MB, free: 2.508 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008942/0.0008942, allocations: 172 kB / 25.18 MB, free: 8.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8918/0.8918, allocations: 177.2 MB / 205.6 MB, free: 4.371 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.882/1.882, allocations: 389.6 MB / 0.6364 GB, free: 13.31 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_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=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.7756 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.82e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.01477/0.01479, allocations: 20.97 MB / 0.7961 GB, free: 9.504 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01077/0.02555, allocations: 6.35 MB / 0.8023 GB, free: 3.133 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002232/0.02779, allocations: 202.5 kB / 0.8025 GB, free: 2.934 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.02956, allocations: 0.9191 MB / 0.8033 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.3858/0.4154, allocations: 2.036 MB / 0.8053 GB, free: 21.54 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.004109/0.4195, allocations: 1.865 MB / 0.8072 GB, free: 21.54 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.009156/0.4286, allocations: 9.311 MB / 0.8163 GB, free: 20.37 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00817/0.4368, allocations: 6.553 MB / 0.8227 GB, free: 17.93 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007452/0.4443, allocations: 5.749 MB / 0.8283 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005946/0.4502, allocations: 4.409 MB / 0.8326 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.00144/0.4516, allocations: 0.8198 MB / 0.8334 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.4536, allocations: 0.9039 MB / 0.8343 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.002064/0.4556, allocations: 3.417 MB / 0.8376 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001958/0.4576, allocations: 2.577 MB / 0.8401 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003989/0.4616, allocations: 6.341 MB / 0.8463 GB, free: 9.074 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.4616, allocations: 1.219 kB / 0.8463 GB, free: 9.074 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4616, allocations: 4 kB / 0.8463 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.254e-05/0.4616, allocations: 0 / 0.8463 GB, free: 9.07 MB / 0.7605 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.004727/0.4664, allocations: 5.982 MB / 0.8521 GB, free: 3.438 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.4664, allocations: 8.031 kB / 0.8522 GB, free: 3.43 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.4685, allocations: 1.333 MB / 0.8535 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/0.4712, allocations: 2.794 MB / 0.8562 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002163/0.4714, allocations: 421.5 kB / 0.8566 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005646/0.472, allocations: 0.5624 MB / 0.8571 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004855/0.4768, allocations: 5.722 MB / 0.8627 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.942e-05/0.4769, allocations: 26.34 kB / 0.8627 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003598/0.4773, allocations: 247.2 kB / 0.863 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003369/0.4776, allocations: 422.9 kB / 0.8634 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.4795, allocations: 1.485 MB / 0.8648 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/0.4932, allocations: 20.22 MB / 0.8846 GB, free: 2.684 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.4945, allocations: 1.243 MB / 0.8858 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007272/0.4952, allocations: 0.7326 MB / 0.8865 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-05/0.4953, allocations: 38 kB / 0.8865 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.4953, allocations: 62.41 kB / 0.8866 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=209): time 3.527e-06/0.4953, allocations: 0 / 0.8866 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of matching and sorting (n=212): time 0.008751/0.5041, allocations: 4.978 MB / 0.8915 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.5041, allocations: 73.41 kB / 0.8915 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009257/0.505, allocations: 1.563 MB / 0.8931 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.705e-05/0.5051, allocations: 65.7 kB / 0.8931 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008152/0.5059, allocations: 2.201 MB / 0.8953 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003535/0.5063, allocations: 0.7549 MB / 0.896 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004126/0.5067, allocations: 455.4 kB / 0.8964 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.151e-05/0.5068, allocations: 301.1 kB / 0.8967 GB, free: 6.961 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.5071, allocations: 285.2 kB / 0.897 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007078/0.5078, allocations: 1.015 MB / 0.898 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.5091, allocations: 1.592 MB / 0.8996 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.956e-06/0.5091, allocations: 8 kB / 0.8996 GB, free: 3.656 MB / 0.8073 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00237/0.5115, allocations: 2.109 MB / 0.9016 GB, free: 1.738 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.5115, allocations: 16 kB / 0.9016 GB, free: 1.723 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.5115, allocations: 20 kB / 0.9017 GB, free: 1.703 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001885/0.5134, allocations: 1.06 MB / 0.9027 GB, free: 0.6602 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008079/0.5142, allocations: 434.5 kB / 0.9031 GB, free: 272 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007435/0.5217, allocations: 9.316 MB / 0.9122 GB, free: 6.77 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007696/0.5224, allocations: 76 kB / 0.9123 GB, free: 6.695 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.5226, allocations: 87.98 kB / 0.9124 GB, free: 6.609 MB / 0.823 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 {(7,31,57.1%), (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.001001/0.5236, allocations: 272.9 kB / 0.9126 GB, free: 6.363 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.5238, allocations: 247.7 kB / 0.9129 GB, free: 6.121 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/0.5259, allocations: 1.761 MB / 0.9146 GB, free: 4.406 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.5259, allocations: 20 kB / 0.9146 GB, free: 4.387 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.5259, allocations: 16 kB / 0.9146 GB, free: 4.371 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.5259, allocations: 15.95 kB / 0.9146 GB, free: 4.355 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004656/0.5306, allocations: 3.892 MB / 0.9184 GB, free: 0.8047 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.5306, allocations: 4 kB / 0.9184 GB, free: 0.8008 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004797/0.531, allocations: 202.8 kB / 0.9186 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001725/0.5328, allocations: 0.9978 MB / 0.9196 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-05/0.5329, allocations: 40 kB / 0.9196 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007256/0.5401, allocations: 9.29 MB / 0.9287 GB, free: 6.105 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.5401, allocations: 11.56 kB / 0.9287 GB, free: 6.098 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.5422, allocations: 1.918 MB / 0.9306 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000501/0.5427, allocations: 401.2 kB / 0.931 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.5428, allocations: 39.98 kB / 0.931 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/0.5433, allocations: 44 kB / 0.9311 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.5435, allocations: 193 kB / 0.9312 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.893e-05/0.5436, allocations: 44 kB / 0.9313 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005085/0.5441, allocations: 0.7705 MB / 0.932 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.5441, allocations: 0 / 0.932 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001985/0.5461, allocations: 1.144 MB / 0.9331 GB, free: 1.664 MB / 0.8386 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.0002003/0.5463, allocations: 134.7 kB / 0.9333 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00245/0.5487, allocations: 2.542 MB / 0.9358 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.533e-05/0.5488, allocations: 45.62 kB / 0.9358 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001642/0.5504, allocations: 1.862 MB / 0.9376 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.552, allocations: 0.8147 MB / 0.9384 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009538/0.5616, allocations: 9.472 MB / 0.9477 GB, free: 2.816 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002386/0.5639, allocations: 2.888 MB / 0.9505 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/0.5652, allocations: 0.7215 MB / 0.9512 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of SimCode: time 1.343e-06/0.5652, allocations: 4 kB / 0.9512 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of Templates: time 0.1163/0.6815, allocations: 171.9 MB / 1.119 GB, free: 3.395 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.03682676050812]