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.0008344/0.0008345, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005731/0.005731, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.584/1.584, allocations: 205.4 MB / 222.4 MB, free: 5.781 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.545/1.545, allocations: 252 MB / 0.5105 GB, free: 4.582 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.0005931/0.0005932, allocations: 16.45 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6346/0.6352, allocations: 106.3 MB / 0.7287 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005772/0.6411, allocations: 4.02 MB / 0.7327 GB, free: 7.176 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00557/0.6467, allocations: 3.207 MB / 0.7358 GB, free: 3.957 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004258/0.6471, allocations: 11.94 kB / 0.7358 GB, free: 3.945 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007946/0.6479, allocations: 171 kB / 0.736 GB, free: 3.777 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.6492, allocations: 350.4 kB / 0.7363 GB, free: 3.434 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007487/0.6499, allocations: 231.6 kB / 0.7365 GB, free: 3.207 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001182/0.6511, allocations: 0.7945 MB / 0.7373 GB, free: 2.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.6527, allocations: 0.8233 MB / 0.7381 GB, free: 1.555 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005825/0.6533, allocations: 219.1 kB / 0.7383 GB, free: 1.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005298/0.6539, allocations: 247 kB / 0.7385 GB, free: 1.098 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.521e-05/0.654, allocations: 20 kB / 0.7386 GB, free: 1.078 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006667/0.6546, allocations: 323.4 kB / 0.7389 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.6548, allocations: 131.5 kB / 0.739 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003208/0.6552, allocations: 216.7 kB / 0.7392 GB, free: 424 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.6563, allocations: 0.7592 MB / 0.7399 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.6563, allocations: 0 / 0.7399 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6563, allocations: 7.938 kB / 0.74 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.414e-05/0.6563, allocations: 0 / 0.74 GB, free: 15.64 MB / 0.5606 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.001491/0.6578, allocations: 0.6897 MB / 0.7406 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.6579, allocations: 8.031 kB / 0.7406 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002857/0.6607, allocations: 0.6672 MB / 0.7413 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008941/0.6616, allocations: 439.8 kB / 0.7417 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.6617, allocations: 28.97 kB / 0.7417 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.6619, allocations: 32.12 kB / 0.7418 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.6637, allocations: 0.7826 MB / 0.7425 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.6637, allocations: 3.938 kB / 0.7425 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.262e-05/0.6638, allocations: 12 kB / 0.7425 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/0.6639, allocations: 48.61 kB / 0.7426 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.666, allocations: 0.8726 MB / 0.7434 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004432/0.6705, allocations: 2.823 MB / 0.7462 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.6722, allocations: 0.5137 MB / 0.7467 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006812/0.6729, allocations: 256.6 kB / 0.7469 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.673, allocations: 93.09 kB / 0.747 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.673, allocations: 34.56 kB / 0.7471 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.673, allocations: 3.938 kB / 0.7471 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24): time 0.01181/0.6849, allocations: 3.104 MB / 0.7501 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.6849, allocations: 55.41 kB / 0.7502 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006375/0.6856, allocations: 405.5 kB / 0.7505 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.6857, allocations: 29.64 kB / 0.7506 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.6859, allocations: 243.8 kB / 0.7508 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.686, allocations: 78.81 kB / 0.7509 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.407e-05/0.6861, allocations: 33.7 kB / 0.7509 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.6863, allocations: 350.7 kB / 0.7512 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009126/0.6872, allocations: 359.5 kB / 0.7516 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000956/0.6882, allocations: 428.5 kB / 0.752 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/0.69, allocations: 0.768 MB / 0.7527 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.69, allocations: 4 kB / 0.7527 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005307/0.6953, allocations: 1.518 MB / 0.7542 GB, free: 500 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.6955, allocations: 153.8 kB / 0.7544 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.6955, allocations: 0 / 0.7544 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00402/0.6996, allocations: 0.8208 MB / 0.7552 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/0.7003, allocations: 135.8 kB / 0.7553 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007037/0.7073, allocations: 4.535 MB / 0.7597 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008487/0.7082, allocations: 115.8 kB / 0.7598 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/0.7083, allocations: 19.98 kB / 0.7599 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.7083, allocations: 4 kB / 0.7599 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004428/0.7127, allocations: 1.238 MB / 0.7611 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.7128, allocations: 8.188 kB / 0.7611 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002574/0.7153, allocations: 0.5391 MB / 0.7616 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/0.716, allocations: 139.8 kB / 0.7617 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004881/0.7209, allocations: 2.693 MB / 0.7644 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007814/0.7217, allocations: 108 kB / 0.7645 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.7218, allocations: 12 kB / 0.7645 GB, free: 5.535 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005936/0.7224, allocations: 332.9 kB / 0.7648 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.7225, allocations: 31.62 kB / 0.7648 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004749/0.7273, allocations: 1.4 MB / 0.7662 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.7273, allocations: 4 kB / 0.7662 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.7273, allocations: 0 / 0.7662 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.7273, allocations: 7.938 kB / 0.7662 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005808/0.7331, allocations: 2.032 MB / 0.7682 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.7332, allocations: 0 / 0.7682 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.7336, allocations: 91.94 kB / 0.7683 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003554/0.7371, allocations: 0.7622 MB / 0.769 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-05/0.7372, allocations: 4 kB / 0.769 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006534/0.7437, allocations: 4.356 MB / 0.7733 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.7438, allocations: 11.97 kB / 0.7733 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004922/0.7487, allocations: 1.406 MB / 0.7747 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004238/0.7492, allocations: 168.6 kB / 0.7748 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.7493, allocations: 11.94 kB / 0.7748 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006519/0.75, allocations: 91.86 kB / 0.7749 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.7502, allocations: 27.89 kB / 0.775 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/0.7502, allocations: 12 kB / 0.775 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005293/0.7508, allocations: 299.1 kB / 0.7753 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.72e-07/0.7508, allocations: 0 / 0.7753 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00108/0.7519, allocations: 196 kB / 0.7754 GB, free: 9.887 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002572/0.7521, allocations: 111.2 kB / 0.7756 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004937/0.7571, allocations: 1.734 MB / 0.7772 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/0.7571, allocations: 4.125 kB / 0.7773 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.7584, allocations: 0.64 MB / 0.7779 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009118/0.7593, allocations: 123.9 kB / 0.778 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/0.7626, allocations: 1.242 MB / 0.7792 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/0.7641, allocations: 0.9132 MB / 0.7801 GB, free: 5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007576/0.7648, allocations: 151.2 kB / 0.7802 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.765, allocations: 31.42 kB / 0.7803 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of SimCode: time 4.237e-06/0.7651, allocations: 0 / 0.7803 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of Templates: time 0.02323/0.7883, allocations: 11.68 MB / 0.7917 GB, free: 9.219 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: