Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002007/0.002007, allocations: 191.4 kB / 16.13 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00261/0.00261, allocations: 278.5 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.097/1.097, allocations: 178.6 MB / 0.5068 GB, free: 4.789 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002774/0.002774, allocations: 103.9 kB / 0.6057 GB, free: 25.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1626, allocations: 89.14 MB / 0.6928 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01387/0.1765, allocations: 10.85 MB / 0.7034 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01369/0.1903, allocations: 8.791 MB / 0.712 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.1916, allocations: 59.62 kB / 0.712 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004172/0.1958, allocations: 1.563 MB / 0.7136 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00462/0.2004, allocations: 1.399 MB / 0.7149 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.2022, allocations: 0.6161 MB / 0.7155 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003611/0.2058, allocations: 2.895 MB / 0.7184 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/0.2079, allocations: 1.336 MB / 0.7197 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.2096, allocations: 0.8753 MB / 0.7205 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.2112, allocations: 1.031 MB / 0.7215 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00021/0.2114, allocations: 84 kB / 0.7216 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.2133, allocations: 0.9124 MB / 0.7225 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005902/0.2139, allocations: 0.5139 MB / 0.723 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009908/0.2149, allocations: 0.8276 MB / 0.7238 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003025/0.2179, allocations: 2.546 MB / 0.7263 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2179, allocations: 0 / 0.7263 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2179, allocations: 0 / 0.7263 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.169e-05/0.218, allocations: 4 kB / 0.7263 GB, free: 2.422 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003474/0.2215, allocations: 2.019 MB / 0.7283 GB, free: 356 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.2215, allocations: 8.031 kB / 0.7283 GB, free: 348 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.2327, allocations: 2.046 MB / 0.7303 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/0.2351, allocations: 1.122 MB / 0.7314 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.014e-05/0.2352, allocations: 94.69 kB / 0.7315 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002516/0.2354, allocations: 124.1 kB / 0.7316 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005724/0.2412, allocations: 2.478 MB / 0.734 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/0.2412, allocations: 11.84 kB / 0.734 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/0.2414, allocations: 59.97 kB / 0.7341 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003811/0.2418, allocations: 130.1 kB / 0.7342 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007285/0.2491, allocations: 2.537 MB / 0.7367 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01461/0.2637, allocations: 10.08 MB / 0.7465 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006096/0.2698, allocations: 1.956 MB / 0.7484 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002833/0.2727, allocations: 0.9679 MB / 0.7494 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.182e-05/0.2728, allocations: 8.438 kB / 0.7494 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.2728, allocations: 39 kB / 0.7494 GB, free: 9.773 MB / 0.545 GB Notification: Performance of pre-optimization done (n=53): time 2.455e-06/0.2728, allocations: 0 / 0.7494 GB, free: 9.773 MB / 0.545 GB Notification: Performance of matching and sorting (n=81): time 0.03212/0.305, allocations: 8.726 MB / 0.7579 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.3051, allocations: 60.06 kB / 0.758 GB, free: 0.918 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2641/0.5692, allocations: 1.093 MB / 0.759 GB, free: 65.15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001846/0.5694, allocations: 39.98 kB / 0.7591 GB, free: 65.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004623/0.5698, allocations: 0.7326 MB / 0.7598 GB, free: 65.03 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/0.5701, allocations: 287.5 kB / 0.7601 GB, free: 64.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004507/0.5706, allocations: 202.1 kB / 0.7603 GB, free: 64.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.5706, allocations: 341.6 kB / 0.7606 GB, free: 64.63 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002972/0.5736, allocations: 1.076 MB / 0.7616 GB, free: 64.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003024/0.5766, allocations: 1.306 MB / 0.7629 GB, free: 63.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005632/0.5823, allocations: 2.38 MB / 0.7652 GB, free: 63.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.5823, allocations: 3.062 kB / 0.7652 GB, free: 63.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00854/0.5909, allocations: 3.272 MB / 0.7684 GB, free: 62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.5909, allocations: 8.469 kB / 0.7685 GB, free: 62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.5909, allocations: 7.031 kB / 0.7685 GB, free: 62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/0.5939, allocations: 0.7881 MB / 0.7692 GB, free: 61.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/0.5958, allocations: 415.2 kB / 0.7696 GB, free: 61.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/0.6086, allocations: 14.72 MB / 0.784 GB, free: 49.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/0.6109, allocations: 288.8 kB / 0.7843 GB, free: 49.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.611, allocations: 57.45 kB / 0.7843 GB, free: 49.46 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006894/0.6117, allocations: 393.3 kB / 0.7847 GB, free: 49.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/0.6119, allocations: 145.2 kB / 0.7848 GB, free: 49.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008142/0.6201, allocations: 3.208 MB / 0.788 GB, free: 48.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.6201, allocations: 8.219 kB / 0.788 GB, free: 48.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.6201, allocations: 8.156 kB / 0.788 GB, free: 48.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.6201, allocations: 3.797 kB / 0.788 GB, free: 48.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009936/0.6301, allocations: 4.898 MB / 0.7928 GB, free: 45.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.6301, allocations: 3.438 kB / 0.7928 GB, free: 45.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/0.6316, allocations: 351.3 kB / 0.7931 GB, free: 45.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002286/0.6339, allocations: 0.6996 MB / 0.7938 GB, free: 45.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.124e-05/0.634, allocations: 28.38 kB / 0.7938 GB, free: 45.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/0.645, allocations: 14.31 MB / 0.8078 GB, free: 32.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.645, allocations: 7.406 kB / 0.8078 GB, free: 32.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007243/0.6523, allocations: 3.044 MB / 0.8108 GB, free: 30.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006365/0.6529, allocations: 379.8 kB / 0.8111 GB, free: 30.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.6531, allocations: 18.5 kB / 0.8112 GB, free: 30.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/0.6548, allocations: 291.2 kB / 0.8114 GB, free: 30.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/0.6551, allocations: 86.45 kB / 0.8115 GB, free: 30.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.319e-05/0.6552, allocations: 36.12 kB / 0.8116 GB, free: 30.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008645/0.656, allocations: 0.7433 MB / 0.8123 GB, free: 29.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.656, allocations: 0 / 0.8123 GB, free: 29.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001435/0.6575, allocations: 431.6 kB / 0.8127 GB, free: 29.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001954/0.6577, allocations: 129 kB / 0.8128 GB, free: 29.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007202/0.6649, allocations: 3.636 MB / 0.8164 GB, free: 27.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6649, allocations: 0 / 0.8164 GB, free: 27.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003939/0.6689, allocations: 2.368 MB / 0.8187 GB, free: 25.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.6709, allocations: 488.5 kB / 0.8191 GB, free: 25.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006136/0.6771, allocations: 4.052 MB / 0.8231 GB, free: 22.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006677/0.6778, allocations: 1.388 MB / 0.8245 GB, free: 21.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00147/0.6792, allocations: 375.3 kB / 0.8248 GB, free: 21.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/0.6796, allocations: 104.7 kB / 0.8249 GB, free: 21.42 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/0.6796, allocations: 0 / 0.8249 GB, free: 21.42 MB / 0.545 GB Notification: Performance of Templates: time 0.03996/0.7196, allocations: 29.34 MB / 0.8536 GB, free: 8.582 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)