Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008835/0.008835, allocations: 170.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.4 MB / 222.5 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.615/1.615, allocations: 252 MB / 0.5105 GB, free: 4.613 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004829, allocations: 12 kB / 0.6249 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5075/0.508, allocations: 106.3 MB / 0.7287 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01602/0.5241, allocations: 13.31 MB / 0.7417 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01455/0.5387, allocations: 9.355 MB / 0.7509 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/0.5408, allocations: 51.62 kB / 0.7509 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.542, allocations: 277.8 kB / 0.7512 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00506/0.5471, allocations: 1.411 MB / 0.7526 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.5494, allocations: 0.7004 MB / 0.7532 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005228/0.5547, allocations: 3.175 MB / 0.7563 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003765/0.5585, allocations: 1.973 MB / 0.7583 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.5603, allocations: 0.8674 MB / 0.7591 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.5619, allocations: 1.066 MB / 0.7602 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.5621, allocations: 72 kB / 0.7602 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.5639, allocations: 0.8577 MB / 0.7611 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005723/0.5645, allocations: 0.5061 MB / 0.7616 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009114/0.5654, allocations: 0.8486 MB / 0.7624 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002966/0.5684, allocations: 2.666 MB / 0.765 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.5684, allocations: 4 kB / 0.765 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.495e-06/0.5684, allocations: 0 / 0.765 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.874e-05/0.5685, allocations: 0 / 0.765 GB, free: 6.051 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00382/0.5723, allocations: 1.816 MB / 0.7668 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.5723, allocations: 8.031 kB / 0.7668 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/0.5843, allocations: 2.148 MB / 0.7689 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003075/0.5874, allocations: 1.197 MB / 0.77 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.81e-05/0.5875, allocations: 90.73 kB / 0.7701 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/0.5878, allocations: 128 kB / 0.7703 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006139/0.5939, allocations: 2.702 MB / 0.7729 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.699e-05/0.594, allocations: 4 kB / 0.7729 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/0.5942, allocations: 55.98 kB / 0.7729 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006737/0.5949, allocations: 178.1 kB / 0.7731 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00796/0.6028, allocations: 2.85 MB / 0.7759 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01572/0.6186, allocations: 10.57 MB / 0.7862 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007102/0.6258, allocations: 2.576 MB / 0.7887 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003396/0.6292, allocations: 1.303 MB / 0.79 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.358e-05/0.6293, allocations: 12.94 kB / 0.79 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.6293, allocations: 47.56 kB / 0.7901 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=89): time 3.326e-06/0.6293, allocations: 0 / 0.7901 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=131): time 0.04812/0.6775, allocations: 13.45 MB / 0.8032 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.6776, allocations: 68.72 kB / 0.8033 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.6793, allocations: 1.117 MB / 0.8044 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002046/0.6796, allocations: 45.7 kB / 0.8044 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004914/0.6801, allocations: 0.7156 MB / 0.8051 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005382/0.6806, allocations: 461.3 kB / 0.8055 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.6809, allocations: 105.7 kB / 0.8056 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.681, allocations: 365.9 kB / 0.806 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003562/0.6846, allocations: 1.362 MB / 0.8073 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003655/0.6883, allocations: 1.624 MB / 0.8089 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007145/0.6954, allocations: 3.034 MB / 0.8119 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.6954, allocations: 4 kB / 0.8119 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01211/0.7076, allocations: 4.478 MB / 0.8162 GB, free: 108 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.7076, allocations: 13.7 kB / 0.8163 GB, free: 96 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.7077, allocations: 12.09 kB / 0.8163 GB, free: 84 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005508/0.7132, allocations: 1.427 MB / 0.8177 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002191/0.7154, allocations: 451.2 kB / 0.8181 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02563/0.741, allocations: 24.57 MB / 0.8421 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/0.744, allocations: 311.6 kB / 0.8424 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/0.7442, allocations: 67.95 kB / 0.8424 GB, free: 3.48 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009229/0.7451, allocations: 441.3 kB / 0.8429 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000342/0.7455, allocations: 158.1 kB / 0.843 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/0.7579, allocations: 4.492 MB / 0.8474 GB, free: 14.33 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/0.7579, allocations: 16 kB / 0.8474 GB, free: 14.32 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.134e-05/0.758, allocations: 12 kB / 0.8474 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/0.758, allocations: 11.97 kB / 0.8474 GB, free: 14.29 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/0.7739, allocations: 6.821 MB / 0.8541 GB, free: 7.309 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.7739, allocations: 4 kB / 0.8541 GB, free: 7.305 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00191/0.7758, allocations: 391.3 kB / 0.8545 GB, free: 6.922 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004757/0.7806, allocations: 1.31 MB / 0.8558 GB, free: 5.57 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/0.7808, allocations: 35.97 kB / 0.8558 GB, free: 5.535 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.024/0.8048, allocations: 23.53 MB / 0.8788 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.8049, allocations: 4.156 kB / 0.8788 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/0.8167, allocations: 4.251 MB / 0.8829 GB, free: 7.918 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.8178, allocations: 459 kB / 0.8834 GB, free: 7.449 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002775/0.8181, allocations: 24 kB / 0.8834 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002375/0.8205, allocations: 315.5 kB / 0.8837 GB, free: 7.117 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004871/0.821, allocations: 128.8 kB / 0.8838 GB, free: 6.992 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/0.8211, allocations: 51.97 kB / 0.8839 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00114/0.8223, allocations: 0.7487 MB / 0.8846 GB, free: 6.191 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8223, allocations: 8 kB / 0.8846 GB, free: 6.184 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002638/0.825, allocations: 0.5703 MB / 0.8852 GB, free: 5.613 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003854/0.8254, allocations: 150.4 kB / 0.8853 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01152/0.8369, allocations: 5.146 MB / 0.8903 GB, free: 144 kB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.837, allocations: 0 / 0.8903 GB, free: 144 kB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.007073/0.844, allocations: 3.507 MB / 0.8937 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003274/0.8473, allocations: 0.5226 MB / 0.8943 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009687/0.8571, allocations: 4.685 MB / 0.8988 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/0.8584, allocations: 1.473 MB / 0.9003 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001883/0.8603, allocations: 425.6 kB / 0.9007 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/0.8608, allocations: 115.4 kB / 0.9008 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of SimCode: time 9.12e-07/0.8608, allocations: 0 / 0.9008 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of Templates: time 0.4257/1.286, allocations: 37.05 MB / 0.937 GB, free: 148.7 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: