Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, 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.001395/0.001395, allocations: 191.4 kB / 16.14 MB, free: 6.684 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002626/0.002626, allocations: 275.1 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.092/1.092, allocations: 178.6 MB / 0.5068 GB, free: 4.809 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002814/0.002814, allocations: 104.2 kB / 0.6057 GB, free: 25.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1617, allocations: 89.15 MB / 0.6928 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00918/0.171, allocations: 6.794 MB / 0.6994 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004834/0.1758, allocations: 3.083 MB / 0.7024 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002737/0.1761, allocations: 27.81 kB / 0.7025 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002248/0.1784, allocations: 0.8905 MB / 0.7033 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008803/0.1793, allocations: 477.7 kB / 0.7038 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008613/0.1801, allocations: 391.3 kB / 0.7042 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001648/0.1818, allocations: 1.603 MB / 0.7057 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009883/0.1828, allocations: 0.6521 MB / 0.7064 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005133/0.1833, allocations: 422.3 kB / 0.7068 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006655/0.184, allocations: 0.5293 MB / 0.7073 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.645e-05/0.1841, allocations: 48 kB / 0.7073 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007728/0.1849, allocations: 455 kB / 0.7078 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003278/0.1852, allocations: 291.1 kB / 0.7081 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000476/0.1857, allocations: 425.8 kB / 0.7085 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.187, allocations: 1.203 MB / 0.7096 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1871, allocations: 0 / 0.7096 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.098e-05/0.1871, allocations: 0 / 0.7096 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.1871, allocations: 3.938 kB / 0.7096 GB, free: 3.574 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002145/0.1892, allocations: 1.176 MB / 0.7108 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1893, allocations: 12.03 kB / 0.7108 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.1909, allocations: 235.6 kB / 0.711 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008547/0.1918, allocations: 0.5569 MB / 0.7116 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/0.1918, allocations: 49.67 kB / 0.7116 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.192, allocations: 64.36 kB / 0.7117 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.1936, allocations: 1.085 MB / 0.7127 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.1936, allocations: 7.938 kB / 0.7127 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.011e-05/0.1937, allocations: 31.98 kB / 0.7128 GB, free: 168 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001733/0.1939, allocations: 85.25 kB / 0.7129 GB, free: 80 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.1952, allocations: 0.7505 MB / 0.7136 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006018/0.2012, allocations: 5.893 MB / 0.7193 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.2023, allocations: 0.5631 MB / 0.7199 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000492/0.2028, allocations: 334 kB / 0.7202 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.2028, allocations: 8.438 kB / 0.7202 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.2029, allocations: 35 kB / 0.7202 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 2.174e-06/0.2029, allocations: 4 kB / 0.7203 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.00408/0.207, allocations: 1.986 MB / 0.7222 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.207, allocations: 55.84 kB / 0.7222 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007003/0.2077, allocations: 0.5548 MB / 0.7228 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.2078, allocations: 37.7 kB / 0.7228 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.2081, allocations: 410.9 kB / 0.7232 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.2083, allocations: 173.6 kB / 0.7234 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.2085, allocations: 126.5 kB / 0.7235 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002273/0.2087, allocations: 382.7 kB / 0.7239 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004623/0.2092, allocations: 273.8 kB / 0.7241 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006643/0.2099, allocations: 497 kB / 0.7246 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.211, allocations: 0.8016 MB / 0.7254 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.211, allocations: 4 kB / 0.7254 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002048/0.2131, allocations: 1.09 MB / 0.7265 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.2131, allocations: 8 kB / 0.7265 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.2131, allocations: 8 kB / 0.7265 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009025/0.214, allocations: 287.9 kB / 0.7267 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.2145, allocations: 123.8 kB / 0.7269 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007074/0.2216, allocations: 6.595 MB / 0.7333 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005299/0.2222, allocations: 44.02 kB / 0.7333 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/0.2222, allocations: 32 kB / 0.7334 GB, free: 9.723 MB / 0.5294 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0003771/0.2226, allocations: 253.5 kB / 0.7336 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.2227, allocations: 71.16 kB / 0.7337 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.2245, allocations: 0.8925 MB / 0.7346 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.2245, allocations: 4 kB / 0.7346 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2245, allocations: 4 kB / 0.7346 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.2245, allocations: 3.984 kB / 0.7346 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/0.2274, allocations: 1.724 MB / 0.7363 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.2274, allocations: 12.11 kB / 0.7363 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.2277, allocations: 55.95 kB / 0.7363 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008127/0.2285, allocations: 275.1 kB / 0.7366 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/0.2286, allocations: 12 kB / 0.7366 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00739/0.236, allocations: 6.576 MB / 0.743 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.236, allocations: 7.938 kB / 0.743 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.2377, allocations: 0.9874 MB / 0.744 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/0.238, allocations: 192.2 kB / 0.7442 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.677e-05/0.2381, allocations: 19.92 kB / 0.7442 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.2385, allocations: 27.97 kB / 0.7442 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.2386, allocations: 43.88 kB / 0.7443 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.2387, allocations: 16 kB / 0.7443 GB, free: 13.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005092/0.2392, allocations: 387.1 kB / 0.7446 GB, free: 13.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2392, allocations: 0 / 0.7446 GB, free: 13.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008924/0.2401, allocations: 224 kB / 0.7449 GB, free: 13.23 MB / 0.545 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001908/0.2403, allocations: 119.2 kB / 0.745 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002227/0.2425, allocations: 1.279 MB / 0.7462 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2426, allocations: 0 / 0.7462 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.244, allocations: 0.8858 MB / 0.7471 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.2451, allocations: 209 kB / 0.7473 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.2481, allocations: 1.642 MB / 0.7489 GB, free: 8.949 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008783/0.249, allocations: 1.009 MB / 0.7499 GB, free: 7.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004994/0.2495, allocations: 130 kB / 0.75 GB, free: 7.781 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.2497, allocations: 43.44 kB / 0.75 GB, free: 7.738 MB / 0.545 GB Notification: Performance of SimCode: time 8.21e-07/0.2497, allocations: 4 kB / 0.75 GB, free: 7.734 MB / 0.545 GB Notification: Performance of Templates: time 0.02038/0.2701, allocations: 10.79 MB / 0.7606 GB, free: 13.07 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)