Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, 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.001123/0.001123, allocations: 195.5 kB / 16.14 MB, free: 6.707 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.308/1.308, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001971/0.001971, allocations: 282.8 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9548/0.9548, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 94.05 kB / 0.5945 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1521, allocations: 86.99 MB / 0.6795 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03984/0.192, allocations: 40.77 MB / 0.7193 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02257/0.2146, allocations: 15.06 MB / 0.734 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004132/0.2187, allocations: 167.1 kB / 0.7341 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01027/0.229, allocations: 4.162 MB / 0.7382 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007463/0.2365, allocations: 2.632 MB / 0.7408 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007858/0.2444, allocations: 2.889 MB / 0.7436 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01717/0.2616, allocations: 16.01 MB / 0.7592 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01925/0.2808, allocations: 13.64 MB / 0.7726 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2894/0.5703, allocations: 4.098 MB / 0.7766 GB, free: 25.26 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009459/0.5798, allocations: 5.483 MB / 0.7819 GB, free: 25.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003063/0.5829, allocations: 0.6083 MB / 0.7825 GB, free: 25.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006242/0.5892, allocations: 2.044 MB / 0.7845 GB, free: 25.06 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.006339/0.5955, allocations: 3.36 MB / 0.7878 GB, free: 24.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00954/0.6051, allocations: 3.922 MB / 0.7916 GB, free: 23.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01697/0.6221, allocations: 14.03 MB / 0.8053 GB, free: 22.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.6221, allocations: 3.688 kB / 0.8053 GB, free: 22.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6221, allocations: 0 / 0.8053 GB, free: 22.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004895/0.6226, allocations: 0 / 0.8053 GB, free: 22.57 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02748/0.6501, allocations: 7.592 MB / 0.8127 GB, free: 19.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.6502, allocations: 13.06 kB / 0.8127 GB, free: 19.28 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.662, allocations: 1.521 MB / 0.8142 GB, free: 18.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009655/0.6717, allocations: 4.203 MB / 0.8183 GB, free: 17.13 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/0.672, allocations: 456.8 kB / 0.8188 GB, free: 17.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002947/0.675, allocations: 0.599 MB / 0.8194 GB, free: 17.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02092/0.6959, allocations: 10.68 MB / 0.8298 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001731/0.6961, allocations: 37.7 kB / 0.8298 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009963/0.6971, allocations: 268.7 kB / 0.8301 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002436/0.6996, allocations: 0.7695 MB / 0.8308 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01503/0.7146, allocations: 8.559 MB / 0.8392 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06364/0.7783, allocations: 46.86 MB / 0.8849 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006033/0.7844, allocations: 4.308 MB / 0.8891 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005269/0.7896, allocations: 3.71 MB / 0.8928 GB, free: 4 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002757/0.7899, allocations: 38.78 kB / 0.8928 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.48e-05/0.79, allocations: 76.62 kB / 0.8929 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=353): time 4.919e-06/0.79, allocations: 0 / 0.8929 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=578): time 0.4889/1.279, allocations: 122.7 MB / 1.013 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/1.279, allocations: 111.9 kB / 1.013 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003903/1.283, allocations: 2.689 MB / 1.015 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001403/1.284, allocations: 121.7 kB / 1.016 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001823/1.286, allocations: 2.678 MB / 1.018 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00249/1.289, allocations: 1.95 MB / 1.02 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001954/1.291, allocations: 0.9209 MB / 1.021 GB, free: 248 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.873e-05/1.291, allocations: 305.1 kB / 1.021 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005828/1.297, allocations: 4.075 MB / 1.025 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006641/1.303, allocations: 5.017 MB / 1.03 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01354/1.317, allocations: 9.851 MB / 1.04 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.759e-05/1.317, allocations: 8 kB / 1.04 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.0384/1.355, allocations: 17 MB / 1.056 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/1.355, allocations: 16.03 kB / 1.056 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.69e-05/1.355, allocations: 24 kB / 1.056 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03182/1.387, allocations: 9.082 MB / 1.065 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002614/1.39, allocations: 0.5256 MB / 1.066 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4143/1.804, allocations: 70.51 MB / 1.135 GB, free: 247.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004923/1.809, allocations: 278.3 kB / 1.135 GB, free: 247.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007758/1.81, allocations: 191.6 kB / 1.135 GB, free: 247.1 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004264/1.814, allocations: 2.428 MB / 1.137 GB, free: 246.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/1.815, allocations: 474.7 kB / 1.138 GB, free: 246 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03266/1.848, allocations: 16.81 MB / 1.154 GB, free: 233.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.544e-05/1.848, allocations: 59.94 kB / 1.154 GB, free: 233.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001736/1.848, allocations: 68 kB / 1.154 GB, free: 233.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001079/1.848, allocations: 31.52 kB / 1.155 GB, free: 233.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04921/1.897, allocations: 25.65 MB / 1.18 GB, free: 209.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.036e-05/1.898, allocations: 4.938 kB / 1.18 GB, free: 209.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/1.899, allocations: 323.5 kB / 1.18 GB, free: 208.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02528/1.925, allocations: 8.271 MB / 1.188 GB, free: 200.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008539/1.925, allocations: 100 kB / 1.188 GB, free: 200.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07471/2, allocations: 67.4 MB / 1.254 GB, free: 131.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/2, allocations: 14.66 kB / 1.254 GB, free: 131.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03751/2.038, allocations: 21.58 MB / 1.275 GB, free: 109.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003484/2.041, allocations: 1.354 MB / 1.276 GB, free: 108.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/2.042, allocations: 109 kB / 1.276 GB, free: 108.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003012/2.045, allocations: 287.6 kB / 1.277 GB, free: 108 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001776/2.047, allocations: 0.5221 MB / 1.277 GB, free: 107.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003739/2.048, allocations: 144 kB / 1.277 GB, free: 107.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002037/2.05, allocations: 1.772 MB / 1.279 GB, free: 105.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/2.05, allocations: 4 kB / 1.279 GB, free: 105.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.006802/2.056, allocations: 2.465 MB / 1.281 GB, free: 103.1 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005743/2.057, allocations: 241 kB / 1.282 GB, free: 102.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02154/2.079, allocations: 14.48 MB / 1.296 GB, free: 88.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/2.079, allocations: 8.062 kB / 1.296 GB, free: 88.17 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.015/2.094, allocations: 9.35 MB / 1.305 GB, free: 78.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008324/2.102, allocations: 1.282 MB / 1.306 GB, free: 77.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02565/2.128, allocations: 18.73 MB / 1.325 GB, free: 58.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00486/2.133, allocations: 4.896 MB / 1.329 GB, free: 53.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002864/2.135, allocations: 0.7448 MB / 1.33 GB, free: 52.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005386/2.136, allocations: 195.4 kB / 1.33 GB, free: 52.73 MB / 0.7794 GB Notification: Performance of SimCode: time 1.042e-06/2.136, allocations: 0 / 1.33 GB, free: 52.73 MB / 0.7794 GB Notification: Performance of Templates: time 0.5047/2.641, allocations: 142.8 MB / 1.47 GB, free: 209.5 MB / 0.7794 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)