Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.558/2.558, allocations: 285 MB / 292.5 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001457/0.001457, allocations: 176.8 kB / 360.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.942/1.942, allocations: 205.3 MB / 0.6192 GB, free: 12.1 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001151, allocations: 100.5 kB / 0.7322 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.467e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7977/0.7977, allocations: 115.3 MB / 0.9634 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3415/1.139, allocations: 181 MB / 1.14 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003973/1.14, allocations: 97.02 kB / 1.14 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1588/1.299, allocations: 28.5 MB / 1.168 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.713e-06/1.299, allocations: 0 / 1.168 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.856e-05/1.299, allocations: 11.94 kB / 1.168 GB, free: 10.62 MB / 0.7761 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.001707/1.3, allocations: 0.6865 MB / 1.169 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/1.3, allocations: 12.03 kB / 1.169 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004577/1.305, allocations: 0.5649 MB / 1.169 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/1.306, allocations: 476.6 kB / 1.17 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/1.307, allocations: 8 kB / 1.17 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/1.307, allocations: 20 kB / 1.17 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001241/1.308, allocations: 469.2 kB / 1.17 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/1.309, allocations: 0.5409 MB / 1.171 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/1.309, allocations: 3.938 kB / 1.171 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.145e-05/1.309, allocations: 4 kB / 1.171 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.138e-05/1.309, allocations: 20.77 kB / 1.171 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006552/1.316, allocations: 2.777 MB / 1.174 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/1.317, allocations: 346.2 kB / 1.174 GB, free: 4.395 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/1.318, allocations: 168.8 kB / 1.174 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/1.318, allocations: 93.08 kB / 1.174 GB, free: 4.117 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/1.318, allocations: 34.56 kB / 1.174 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.364e-06/1.318, allocations: 0 / 1.174 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24): time 0.00745/1.325, allocations: 1.528 MB / 1.176 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/1.326, allocations: 81.11 kB / 1.176 GB, free: 2.438 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006268/1.326, allocations: 336.9 kB / 1.176 GB, free: 2.098 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.619e-05/1.326, allocations: 29.7 kB / 1.176 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/1.327, allocations: 236 kB / 1.176 GB, free: 1.828 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/1.327, allocations: 81.97 kB / 1.176 GB, free: 1.75 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/1.327, allocations: 4 kB / 1.176 GB, free: 1.746 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001767/1.327, allocations: 342.8 kB / 1.177 GB, free: 1.402 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005631/1.327, allocations: 235.9 kB / 1.177 GB, free: 1.172 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006364/1.328, allocations: 320.5 kB / 1.177 GB, free: 0.8281 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008972/1.329, allocations: 293.5 kB / 1.178 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/1.329, allocations: 7.984 kB / 1.178 GB, free: 0.5352 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004961/1.334, allocations: 1.057 MB / 1.179 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003901/1.334, allocations: 0.7901 MB / 1.179 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/1.334, allocations: 4 kB / 1.179 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003786/1.338, allocations: 485 kB / 1.18 GB, free: 14.13 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/1.339, allocations: 127.8 kB / 1.18 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005989/1.345, allocations: 3.001 MB / 1.183 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/1.347, allocations: 119.8 kB / 1.183 GB, free: 10.74 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/1.347, allocations: 8 kB / 1.183 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.347, allocations: 8.844 kB / 1.183 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00139/1.348, allocations: 467.8 kB / 1.183 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.348, allocations: 0 / 1.183 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/1.348, allocations: 4 kB / 1.183 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/1.35, allocations: 160 kB / 1.184 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/1.35, allocations: 7.938 kB / 1.184 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/1.351, allocations: 89.17 kB / 1.184 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-05/1.351, allocations: 15.98 kB / 1.184 GB, free: 10 MB / 0.7917 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 () * 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.000232/1.351, allocations: 119.5 kB / 1.184 GB, free: 9.879 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/1.351, allocations: 35.56 kB / 1.184 GB, free: 9.844 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005365/1.357, allocations: 1.107 MB / 1.185 GB, free: 8.73 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/1.357, allocations: 4 kB / 1.185 GB, free: 8.727 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/1.357, allocations: 0 / 1.185 GB, free: 8.727 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/1.357, allocations: 4 kB / 1.185 GB, free: 8.723 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006523/1.363, allocations: 1.712 MB / 1.187 GB, free: 6.957 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/1.363, allocations: 0 / 1.187 GB, free: 6.957 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007636/1.364, allocations: 83.89 kB / 1.187 GB, free: 6.875 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004365/1.369, allocations: 0.6142 MB / 1.187 GB, free: 6.254 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-05/1.369, allocations: 4 kB / 1.187 GB, free: 6.25 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00848/1.377, allocations: 4.219 MB / 1.191 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/1.377, allocations: 0 / 1.191 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004993/1.382, allocations: 1.157 MB / 1.193 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004709/1.383, allocations: 168.6 kB / 1.193 GB, free: 424 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.584e-05/1.383, allocations: 4 kB / 1.193 GB, free: 420 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/1.384, allocations: 107.8 kB / 1.193 GB, free: 312 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/1.384, allocations: 27.91 kB / 1.193 GB, free: 284 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.883e-05/1.384, allocations: 11.42 kB / 1.193 GB, free: 276 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004845/1.385, allocations: 268.6 kB / 1.193 GB, free: 8 kB / 0.7917 GB Notification: Performance of sort global known variables: time 4.5e-07/1.385, allocations: 0 / 1.193 GB, free: 8 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001248/1.386, allocations: 191.9 kB / 1.193 GB, free: 15.82 MB / 0.8073 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 () * 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.0004074/1.387, allocations: 155.1 kB / 1.193 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003635/1.39, allocations: 0.9717 MB / 1.194 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.39, allocations: 1 kB / 1.194 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0019/1.392, allocations: 0.5618 MB / 1.195 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/1.393, allocations: 106.7 kB / 1.195 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/1.396, allocations: 0.7379 MB / 1.196 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/1.397, allocations: 0.9211 MB / 1.197 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001985/1.399, allocations: 222.7 kB / 1.197 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/1.399, allocations: 31.41 kB / 1.197 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of SimCode: time 1.313e-06/1.399, allocations: 1.312 kB / 1.197 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of Templates: time 0.03719/1.437, allocations: 10.16 MB / 1.207 GB, free: 2.016 MB / 0.8073 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)