Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.002378/0.002378, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.59/1.59, allocations: 251.9 MB / 0.51 GB, free: 4.887 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.0009171/0.0009172, allocations: 19.94 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.633/0.6339, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.004989/0.6389, allocations: 3.706 MB / 0.7316 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005121/0.6441, allocations: 2.944 MB / 0.7345 GB, free: 4.785 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006054/0.6448, allocations: 7.938 kB / 0.7345 GB, free: 4.777 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009291/0.6457, allocations: 159.3 kB / 0.7346 GB, free: 4.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.647, allocations: 289 kB / 0.7349 GB, free: 4.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006671/0.6477, allocations: 179.5 kB / 0.7351 GB, free: 4.164 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005922/0.6483, allocations: 339.3 kB / 0.7354 GB, free: 3.832 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.6496, allocations: 0.7235 MB / 0.7361 GB, free: 3.074 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003027/0.6499, allocations: 163.4 kB / 0.7363 GB, free: 2.914 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.6503, allocations: 171.3 kB / 0.7364 GB, free: 2.746 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.6503, allocations: 20 kB / 0.7364 GB, free: 2.727 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006275/0.6509, allocations: 239.6 kB / 0.7367 GB, free: 2.492 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.6511, allocations: 123.6 kB / 0.7368 GB, free: 2.371 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.905e-05/0.6512, allocations: 105.5 kB / 0.7369 GB, free: 2.262 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008231/0.652, allocations: 0.6605 MB / 0.7375 GB, free: 1.602 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.652, allocations: 0 / 0.7375 GB, free: 1.602 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.652, allocations: 3.938 kB / 0.7375 GB, free: 1.598 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.6521, allocations: 0 / 0.7375 GB, free: 1.598 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001257/0.6533, allocations: 0.7168 MB / 0.7382 GB, free: 0.832 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.6534, allocations: 12.03 kB / 0.7383 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002843/0.6562, allocations: 0.7014 MB / 0.7389 GB, free: 120 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.6573, allocations: 482.6 kB / 0.7394 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.6573, allocations: 24.66 kB / 0.7394 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.073e-05/0.6574, allocations: 28 kB / 0.7395 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.659, allocations: 0.7903 MB / 0.7402 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.6591, allocations: 0 / 0.7402 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/0.6591, allocations: 12 kB / 0.7402 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/0.6593, allocations: 56.58 kB / 0.7403 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.6612, allocations: 0.8804 MB / 0.7411 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004068/0.6653, allocations: 2.858 MB / 0.7439 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.6668, allocations: 0.5214 MB / 0.7444 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.6669, allocations: 85.09 kB / 0.7445 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.667, allocations: 42.52 kB / 0.7446 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.667, allocations: 0 / 0.7446 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24): time 0.01115/0.6781, allocations: 3.209 MB / 0.7477 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.6783, allocations: 81.11 kB / 0.7478 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000589/0.6789, allocations: 417.6 kB / 0.7482 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.331e-05/0.6789, allocations: 33.7 kB / 0.7482 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.6791, allocations: 239.8 kB / 0.7484 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.091e-05/0.6792, allocations: 78.84 kB / 0.7485 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.6793, allocations: 8 kB / 0.7485 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.6795, allocations: 350.8 kB / 0.7489 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008624/0.6803, allocations: 359.7 kB / 0.7492 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008788/0.6812, allocations: 441.3 kB / 0.7496 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009206/0.6821, allocations: 394.2 kB / 0.75 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6822, allocations: 4 kB / 0.75 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004723/0.6869, allocations: 1.542 MB / 0.7515 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002854/0.6872, allocations: 0.7901 MB / 0.7523 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.6872, allocations: 3.938 kB / 0.7523 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003624/0.6908, allocations: 0.8481 MB / 0.7531 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005865/0.6914, allocations: 135.8 kB / 0.7532 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006685/0.6981, allocations: 4.779 MB / 0.7579 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008234/0.699, allocations: 119.9 kB / 0.758 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/0.6991, allocations: 23.97 kB / 0.758 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.6991, allocations: 4 kB / 0.758 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003964/0.703, allocations: 1.257 MB / 0.7593 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.7031, allocations: 3.938 kB / 0.7593 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002464/0.7055, allocations: 0.5549 MB / 0.7598 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006485/0.7062, allocations: 144 kB / 0.76 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/0.7098, allocations: 2.564 MB / 0.7625 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007514/0.7106, allocations: 111.8 kB / 0.7626 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.7107, allocations: 20.06 kB / 0.7626 GB, free: 6.961 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004592/0.7111, allocations: 320.9 kB / 0.7629 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.844e-05/0.7112, allocations: 39.53 kB / 0.7629 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004537/0.7158, allocations: 1.423 MB / 0.7643 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/0.7158, allocations: 0 / 0.7643 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.7158, allocations: 11.94 kB / 0.7643 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.7158, allocations: 0 / 0.7643 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005292/0.7211, allocations: 2.078 MB / 0.7664 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.7212, allocations: 4 kB / 0.7664 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.7215, allocations: 91.92 kB / 0.7665 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00324/0.7248, allocations: 0.7857 MB / 0.7672 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.7248, allocations: 8 kB / 0.7672 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005694/0.7305, allocations: 4.611 MB / 0.7717 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.7306, allocations: 0 / 0.7717 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004297/0.7349, allocations: 1.476 MB / 0.7732 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.7352, allocations: 168.7 kB / 0.7733 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.449e-05/0.7353, allocations: 8 kB / 0.7733 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005619/0.7359, allocations: 99.84 kB / 0.7734 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.736, allocations: 19.95 kB / 0.7735 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.736, allocations: 19.94 kB / 0.7735 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004003/0.7365, allocations: 311.1 kB / 0.7738 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.743e-06/0.7365, allocations: 0 / 0.7738 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009168/0.7374, allocations: 211.9 kB / 0.774 GB, free: 10.86 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002454/0.7376, allocations: 111.2 kB / 0.7741 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003537/0.7412, allocations: 1.627 MB / 0.7757 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7412, allocations: 4 kB / 0.7757 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.7424, allocations: 0.6652 MB / 0.7763 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.743, allocations: 118.5 kB / 0.7764 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.7449, allocations: 1.215 MB / 0.7776 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.7454, allocations: 0.9249 MB / 0.7785 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004899/0.7459, allocations: 159.2 kB / 0.7787 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.746, allocations: 35.41 kB / 0.7787 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of SimCode: time 6.22e-07/0.746, allocations: 0 / 0.7787 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of Templates: time 0.0174/0.7634, allocations: 11.93 MB / 0.7904 GB, free: 10.03 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: