Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.56/2.56, allocations: 287.5 MB / 303.2 MB, free: 8.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001344/0.001344, allocations: 173.9 kB / 371.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.295/2.295, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009418/0.0009415, allocations: 102.3 kB / 0.7438 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004602, allocations: 12.05 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2141, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9583/1.172, allocations: 181.8 MB / 1.157 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003502/1.173, allocations: 97.5 kB / 1.157 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1193/1.292, allocations: 28.83 MB / 1.185 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.575e-06/1.292, allocations: 0 / 1.185 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.835e-05/1.292, allocations: 8 kB / 1.185 GB, free: 9.645 MB / 0.7136 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.00186/1.294, allocations: 0.7486 MB / 1.186 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.294, allocations: 8.031 kB / 1.186 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004581/1.299, allocations: 0.5724 MB / 1.186 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/1.3, allocations: 490 kB / 1.187 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/1.3, allocations: 19.53 kB / 1.187 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/1.3, allocations: 34.69 kB / 1.187 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/1.303, allocations: 0.7654 MB / 1.188 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/1.303, allocations: 3.938 kB / 1.188 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.903e-05/1.303, allocations: 17.62 kB / 1.188 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.685e-05/1.303, allocations: 20.64 kB / 1.188 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003501/1.307, allocations: 0.8547 MB / 1.189 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006086/1.313, allocations: 2.861 MB / 1.191 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002892/1.316, allocations: 0.5205 MB / 1.192 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/1.317, allocations: 268.2 kB / 1.192 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/1.317, allocations: 89.08 kB / 1.192 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/1.317, allocations: 37.75 kB / 1.192 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.615e-06/1.317, allocations: 0 / 1.192 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.0205/1.338, allocations: 3.214 MB / 1.195 GB, free: 124 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/1.338, allocations: 85.05 kB / 1.195 GB, free: 20 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008835/1.339, allocations: 418.6 kB / 1.196 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.845e-05/1.339, allocations: 29.64 kB / 1.196 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/1.339, allocations: 245.8 kB / 1.196 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/1.339, allocations: 77.72 kB / 1.196 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/1.339, allocations: 7.062 kB / 1.196 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.339, allocations: 342.1 kB / 1.196 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/1.341, allocations: 364.8 kB / 1.197 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/1.343, allocations: 446.5 kB / 1.197 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003189/1.346, allocations: 0.7739 MB / 1.198 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.346, allocations: 0 / 1.198 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.009263/1.355, allocations: 1.548 MB / 1.2 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/1.355, allocations: 149.2 kB / 1.2 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.355, allocations: 0 / 1.2 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007104/1.363, allocations: 0.8532 MB / 1.2 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.364, allocations: 131.1 kB / 1.201 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/1.375, allocations: 4.678 MB / 1.205 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/1.376, allocations: 115.4 kB / 1.205 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-05/1.377, allocations: 19.86 kB / 1.205 GB, free: 7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/1.377, allocations: 8.062 kB / 1.205 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007701/1.384, allocations: 1.25 MB / 1.207 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/1.384, allocations: 4.188 kB / 1.207 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004994/1.389, allocations: 0.5487 MB / 1.207 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.391, allocations: 151.2 kB / 1.207 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006034/1.397, allocations: 2.5 MB / 1.21 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/1.398, allocations: 114.5 kB / 1.21 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-05/1.398, allocations: 18.86 kB / 1.21 GB, free: 2.941 MB / 0.7292 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.0005686/1.399, allocations: 323.8 kB / 1.21 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/1.399, allocations: 35.72 kB / 1.21 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00824/1.407, allocations: 1.424 MB / 1.212 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/1.407, allocations: 7.984 kB / 1.212 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.407, allocations: 0 / 1.212 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/1.407, allocations: 0 / 1.212 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/1.418, allocations: 2.103 MB / 1.214 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/1.418, allocations: 3.938 kB / 1.214 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007587/1.418, allocations: 83.28 kB / 1.214 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006529/1.425, allocations: 0.7924 MB / 1.214 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.922e-05/1.425, allocations: 7.312 kB / 1.214 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01/1.435, allocations: 4.484 MB / 1.219 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.435, allocations: 4.062 kB / 1.219 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008113/1.443, allocations: 1.444 MB / 1.22 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004887/1.444, allocations: 171 kB / 1.22 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/1.444, allocations: 7.375 kB / 1.22 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/1.445, allocations: 95.59 kB / 1.221 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/1.445, allocations: 27.22 kB / 1.221 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.211e-05/1.445, allocations: 15.23 kB / 1.221 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006109/1.446, allocations: 306.1 kB / 1.221 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.51e-07/1.446, allocations: 4 kB / 1.221 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001423/1.447, allocations: 231.4 kB / 1.221 GB, free: 8.68 MB / 0.7448 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.0004107/1.448, allocations: 154.2 kB / 1.221 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006438/1.454, allocations: 1.632 MB / 1.223 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.454, allocations: 0 / 1.223 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002331/1.457, allocations: 0.6723 MB / 1.223 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/1.458, allocations: 113 kB / 1.224 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/1.461, allocations: 1.211 MB / 1.225 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007385/1.462, allocations: 0.9126 MB / 1.226 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001049/1.463, allocations: 151.2 kB / 1.226 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/1.463, allocations: 38.72 kB / 1.226 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of SimCode: time 1.002e-06/1.463, allocations: 0 / 1.226 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of Templates: time 0.03314/1.497, allocations: 12.4 MB / 1.238 GB, free: 7.957 MB / 0.7605 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)