Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001974/0.001974, allocations: 287 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9196/0.9196, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 98.44 kB / 0.5952 GB, free: 27.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1441, allocations: 86.98 MB / 0.6802 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007798/0.1519, allocations: 6.138 MB / 0.6862 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004842/0.1568, allocations: 3.168 MB / 0.6893 GB, free: 7.367 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000466/0.1573, allocations: 27.81 kB / 0.6893 GB, free: 7.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.1596, allocations: 0.9407 MB / 0.6902 GB, free: 6.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.1606, allocations: 473.5 kB / 0.6907 GB, free: 5.934 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.1618, allocations: 0.4925 MB / 0.6912 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.1629, allocations: 1.1 MB / 0.6922 GB, free: 4.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008492/0.1638, allocations: 0.643 MB / 0.6929 GB, free: 3.695 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004924/0.1643, allocations: 434.3 kB / 0.6933 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005197/0.1648, allocations: 478.1 kB / 0.6937 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.209e-05/0.1649, allocations: 56 kB / 0.6938 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007476/0.1656, allocations: 487 kB / 0.6942 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002365/0.1659, allocations: 283.3 kB / 0.6945 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003425/0.1663, allocations: 405.9 kB / 0.6949 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.1673, allocations: 1.168 MB / 0.696 GB, free: 432 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1674, allocations: 0 / 0.696 GB, free: 432 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1674, allocations: 3.938 kB / 0.696 GB, free: 428 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.1674, allocations: 0 / 0.696 GB, free: 428 kB / 494.1 MB 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.00151/0.1689, allocations: 1.06 MB / 0.6971 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1689, allocations: 11.97 kB / 0.6971 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.1704, allocations: 223.7 kB / 0.6973 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006951/0.1711, allocations: 0.5337 MB / 0.6978 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/0.1712, allocations: 49.67 kB / 0.6979 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-05/0.1713, allocations: 68.3 kB / 0.6979 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.1725, allocations: 1.041 MB / 0.699 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.1726, allocations: 7.906 kB / 0.699 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-05/0.1726, allocations: 31.98 kB / 0.699 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.942e-05/0.1727, allocations: 65.27 kB / 0.6991 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000965/0.1737, allocations: 0.6995 MB / 0.6997 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004785/0.1785, allocations: 5.749 MB / 0.7054 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007763/0.1793, allocations: 0.5949 MB / 0.7059 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007316/0.18, allocations: 420.6 kB / 0.7063 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.1801, allocations: 4 kB / 0.7063 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.1801, allocations: 38.56 kB / 0.7064 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 2.204e-06/0.1801, allocations: 0 / 0.7064 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.004194/0.1843, allocations: 2.054 MB / 0.7084 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.1844, allocations: 55.41 kB / 0.7084 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004413/0.1848, allocations: 466.8 kB / 0.7089 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.1849, allocations: 33.7 kB / 0.7089 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.1851, allocations: 387 kB / 0.7093 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.1852, allocations: 149.9 kB / 0.7094 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.1854, allocations: 114.2 kB / 0.7095 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1855, allocations: 370.7 kB / 0.7099 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.1858, allocations: 245.2 kB / 0.7101 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/0.1863, allocations: 453 kB / 0.7106 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008642/0.1872, allocations: 0.7596 MB / 0.7113 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1872, allocations: 0 / 0.7113 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001755/0.189, allocations: 1.065 MB / 0.7123 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.189, allocations: 11.94 kB / 0.7123 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.189, allocations: 8 kB / 0.7124 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009866/0.19, allocations: 331.8 kB / 0.7127 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.1903, allocations: 95.81 kB / 0.7128 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006708/0.197, allocations: 7.519 MB / 0.7201 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/0.1974, allocations: 32.02 kB / 0.7201 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.1975, allocations: 28 kB / 0.7202 GB, free: 6.105 MB / 0.5137 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003011/0.1978, allocations: 244.3 kB / 0.7204 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-05/0.1979, allocations: 63.19 kB / 0.7205 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.1995, allocations: 0.9238 MB / 0.7214 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1995, allocations: 4 kB / 0.7214 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1996, allocations: 4 kB / 0.7214 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1996, allocations: 4.078 kB / 0.7214 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/0.2021, allocations: 1.716 MB / 0.723 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2021, allocations: 0 / 0.723 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.2022, allocations: 43.91 kB / 0.7231 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009074/0.2032, allocations: 327.2 kB / 0.7234 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.2032, allocations: 15.94 kB / 0.7234 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00664/0.2098, allocations: 7.505 MB / 0.7307 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2099, allocations: 4.031 kB / 0.7307 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.2115, allocations: 1.011 MB / 0.7317 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.2117, allocations: 172.5 kB / 0.7319 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/0.2118, allocations: 23.92 kB / 0.7319 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/0.2121, allocations: 19.98 kB / 0.7319 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/0.2122, allocations: 43.86 kB / 0.732 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.2122, allocations: 16 kB / 0.732 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000318/0.2125, allocations: 306.9 kB / 0.7323 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2125, allocations: 0 / 0.7323 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007167/0.2133, allocations: 199.9 kB / 0.7325 GB, free: 8.738 MB / 0.5294 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001295/0.2134, allocations: 119.2 kB / 0.7326 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001835/0.2152, allocations: 1.249 MB / 0.7338 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.2153, allocations: 0 / 0.7338 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.2164, allocations: 0.8582 MB / 0.7347 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009644/0.2174, allocations: 206.4 kB / 0.7349 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.2193, allocations: 1.244 MB / 0.7361 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005444/0.2198, allocations: 0.9921 MB / 0.737 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002934/0.2201, allocations: 97.19 kB / 0.7371 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.292e-05/0.2202, allocations: 39.44 kB / 0.7372 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.2202, allocations: 0 / 0.7372 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of Templates: time 0.01742/0.2377, allocations: 9.981 MB / 0.7469 GB, free: 9.895 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)