Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.764/1.764, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001847/0.001848, allocations: 187.7 kB / 377.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.4 MB / 0.6367 GB, free: 9.602 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009046/0.0009046, allocations: 94.03 kB / 0.751 GB, free: 62.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003756, allocations: 8 kB / 0.8748 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.356, allocations: 116.3 MB / 0.9884 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9008/1.257, allocations: 162.3 MB / 1.147 GB, free: 17.44 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003751/1.257, allocations: 100 kB / 1.147 GB, free: 17.36 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0906/1.348, allocations: 36.98 MB / 1.183 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.765e-06/1.348, allocations: 0 / 1.183 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.532e-05/1.348, allocations: 23.98 kB / 1.183 GB, free: 15.11 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002731/1.351, allocations: 0.9283 MB / 1.184 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/1.351, allocations: 23.95 kB / 1.184 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001868/1.353, allocations: 226.8 kB / 1.184 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/1.354, allocations: 0.5249 MB / 1.185 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.788e-05/1.354, allocations: 53.3 kB / 1.185 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/1.354, allocations: 59.98 kB / 1.185 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/1.356, allocations: 1.092 MB / 1.186 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.724e-05/1.356, allocations: 11.92 kB / 1.186 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.745e-05/1.356, allocations: 35.98 kB / 1.186 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.235e-05/1.357, allocations: 55 kB / 1.186 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/1.358, allocations: 0.6879 MB / 1.187 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006622/1.364, allocations: 5.776 MB / 1.192 GB, free: 4.988 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009501/1.365, allocations: 0.5987 MB / 1.193 GB, free: 4.348 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/1.365, allocations: 7.938 kB / 1.193 GB, free: 4.34 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/1.366, allocations: 42.56 kB / 1.193 GB, free: 4.289 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=41): time 3.086e-06/1.366, allocations: 0 / 1.193 GB, free: 4.289 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.004627/1.37, allocations: 1.899 MB / 1.195 GB, free: 2.297 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/1.37, allocations: 63.41 kB / 1.195 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006471/1.371, allocations: 389.9 kB / 1.195 GB, free: 1.836 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/1.371, allocations: 37.7 kB / 1.195 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/1.371, allocations: 371.3 kB / 1.196 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/1.371, allocations: 153.9 kB / 1.196 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/1.372, allocations: 8 kB / 1.196 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002111/1.372, allocations: 362.7 kB / 1.196 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/1.372, allocations: 225 kB / 1.196 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/1.373, allocations: 421.4 kB / 1.197 GB, free: 192 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004656/1.373, allocations: 290 kB / 1.197 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.373, allocations: 4 kB / 1.197 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001875/1.375, allocations: 0.948 MB / 1.198 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/1.375, allocations: 12.03 kB / 1.198 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/1.375, allocations: 4 kB / 1.198 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/1.376, allocations: 271.1 kB / 1.198 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/1.377, allocations: 105.6 kB / 1.198 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008158/1.385, allocations: 6.754 MB / 1.205 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/1.385, allocations: 33.73 kB / 1.205 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/1.385, allocations: 24 kB / 1.205 GB, free: 7.207 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (51): * Single equations (assignments): 47 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004992/1.386, allocations: 244.8 kB / 1.205 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/1.386, allocations: 55.34 kB / 1.205 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/1.388, allocations: 0.8297 MB / 1.206 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/1.388, allocations: 11.94 kB / 1.206 GB, free: 6.043 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/1.388, allocations: 3.984 kB / 1.206 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.388, allocations: 4 kB / 1.206 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/1.391, allocations: 1.735 MB / 1.208 GB, free: 4.188 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/1.391, allocations: 4 kB / 1.208 GB, free: 4.184 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/1.391, allocations: 47.91 kB / 1.208 GB, free: 4.137 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000811/1.392, allocations: 249 kB / 1.208 GB, free: 3.883 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/1.392, allocations: 8 kB / 1.208 GB, free: 3.875 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006179/1.398, allocations: 6.463 MB / 1.214 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.398, allocations: 0 / 1.214 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/1.4, allocations: 0.9745 MB / 1.215 GB, free: 11.83 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003474/1.4, allocations: 168.4 kB / 1.216 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.344e-05/1.4, allocations: 8 kB / 1.216 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/1.401, allocations: 23.97 kB / 1.216 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/1.401, allocations: 35.89 kB / 1.216 GB, free: 11.58 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/1.401, allocations: 19.94 kB / 1.216 GB, free: 11.56 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004214/1.401, allocations: 302.9 kB / 1.216 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.71e-07/1.401, allocations: 4 kB / 1.216 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000917/1.402, allocations: 192 kB / 1.216 GB, free: 11.07 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 23 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002078/1.403, allocations: 119.1 kB / 1.216 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001969/1.404, allocations: 1.13 MB / 1.217 GB, free: 9.773 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/1.405, allocations: 0 / 1.217 GB, free: 9.773 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/1.406, allocations: 0.7996 MB / 1.218 GB, free: 8.922 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009482/1.407, allocations: 176.9 kB / 1.218 GB, free: 8.75 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/1.409, allocations: 1.452 MB / 1.22 GB, free: 7.262 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007908/1.41, allocations: 0.9964 MB / 1.221 GB, free: 6.238 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004038/1.41, allocations: 105.3 kB / 1.221 GB, free: 6.137 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.727e-05/1.41, allocations: 39.38 kB / 1.221 GB, free: 6.098 MB / 0.7917 GB Notification: Performance of SimCode: time 1.152e-06/1.41, allocations: 7.938 kB / 1.221 GB, free: 6.09 MB / 0.7917 GB Notification: Performance of Templates: time 0.02018/1.431, allocations: 8.656 MB / 1.229 GB, free: 13.52 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)