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.001296/0.001296, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001312/0.001312, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002082/0.002082, allocations: 285.5 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8912/0.8912, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 90.45 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1677, allocations: 86.97 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.3116/0.4793, allocations: 41.17 MB / 0.7218 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02727/0.5066, allocations: 15.08 MB / 0.7365 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005785/0.5124, allocations: 191.4 kB / 0.7367 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.01159/0.5241, allocations: 4.463 MB / 0.7411 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008955/0.533, allocations: 2.799 MB / 0.7438 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008694/0.5418, allocations: 3.151 MB / 0.7469 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01661/0.5584, allocations: 11.4 MB / 0.758 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01565/0.5741, allocations: 12.47 MB / 0.7702 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00836/0.5825, allocations: 4.822 MB / 0.7749 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0088/0.5913, allocations: 5.39 MB / 0.7802 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002381/0.5937, allocations: 0.9492 MB / 0.7811 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005431/0.5991, allocations: 2.036 MB / 0.7831 GB, free: 7.539 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004976/0.6041, allocations: 3.695 MB / 0.7867 GB, free: 3.836 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.007757/0.6119, allocations: 4.299 MB / 0.7909 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01469/0.6266, allocations: 14.27 MB / 0.8048 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.6267, allocations: 0 / 0.8048 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6267, allocations: 0 / 0.8048 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003477/0.627, allocations: 0 / 0.8048 GB, free: 1.211 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.01885/0.6459, allocations: 7.604 MB / 0.8123 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.6459, allocations: 8.031 kB / 0.8123 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/0.6577, allocations: 1.522 MB / 0.8137 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009107/0.6669, allocations: 4.435 MB / 0.8181 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003169/0.6672, allocations: 456.5 kB / 0.8185 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00159/0.6688, allocations: 0.5977 MB / 0.8191 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01983/0.6886, allocations: 10.68 MB / 0.8295 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002964/0.689, allocations: 43.7 kB / 0.8296 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001801/0.6908, allocations: 263.9 kB / 0.8298 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002576/0.6934, allocations: 0.7768 MB / 0.8306 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01813/0.7115, allocations: 8.557 MB / 0.8389 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06115/0.7727, allocations: 46.53 MB / 0.8844 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005696/0.7784, allocations: 4.304 MB / 0.8886 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005147/0.7836, allocations: 3.705 MB / 0.8922 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000324/0.7839, allocations: 38.78 kB / 0.8922 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.144e-05/0.784, allocations: 77.33 kB / 0.8923 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=353): time 5.04e-06/0.784, allocations: 0 / 0.8923 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of matching and sorting (n=578): time 0.7367/1.521, allocations: 122.7 MB / 1.012 GB, free: 209 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/1.521, allocations: 111.9 kB / 1.012 GB, free: 208.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002944/1.524, allocations: 2.681 MB / 1.015 GB, free: 206.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0009881/1.525, allocations: 125.7 kB / 1.015 GB, free: 206 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001063/1.526, allocations: 2.674 MB / 1.018 GB, free: 203.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001442/1.527, allocations: 1.958 MB / 1.02 GB, free: 201.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001483/1.529, allocations: 0.9287 MB / 1.02 GB, free: 200.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.756e-05/1.529, allocations: 301.1 kB / 1.021 GB, free: 200.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004487/1.533, allocations: 4.075 MB / 1.025 GB, free: 196.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00487/1.538, allocations: 5.019 MB / 1.03 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/1.549, allocations: 9.847 MB / 1.039 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-05/1.549, allocations: 11.94 kB / 1.039 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03256/1.581, allocations: 16.99 MB / 1.056 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/1.581, allocations: 18.34 kB / 1.056 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-05/1.582, allocations: 24 kB / 1.056 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02783/1.609, allocations: 9.084 MB / 1.065 GB, free: 154.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/1.612, allocations: 0.5226 MB / 1.065 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08553/1.697, allocations: 76.95 MB / 1.14 GB, free: 75.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004652/1.702, allocations: 279.3 kB / 1.141 GB, free: 74.96 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005627/1.702, allocations: 196.3 kB / 1.141 GB, free: 74.77 MB / 0.7169 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.003029/1.705, allocations: 2.428 MB / 1.143 GB, free: 72.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008809/1.706, allocations: 470.5 kB / 1.144 GB, free: 71.87 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03158/1.738, allocations: 16.82 MB / 1.16 GB, free: 54.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-05/1.738, allocations: 56 kB / 1.16 GB, free: 54.85 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001637/1.738, allocations: 83.98 kB / 1.16 GB, free: 54.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.571e-05/1.738, allocations: 27.89 kB / 1.16 GB, free: 54.74 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04416/1.782, allocations: 25.66 MB / 1.185 GB, free: 28.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-05/1.782, allocations: 4 kB / 1.185 GB, free: 28.85 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/1.784, allocations: 319.5 kB / 1.186 GB, free: 28.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0245/1.809, allocations: 8.271 MB / 1.194 GB, free: 20.22 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007303/1.809, allocations: 107.9 kB / 1.194 GB, free: 20.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3654/2.175, allocations: 73.81 MB / 1.266 GB, free: 228.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/2.175, allocations: 16.44 kB / 1.266 GB, free: 228.2 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04176/2.217, allocations: 21.56 MB / 1.287 GB, free: 219.4 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003671/2.22, allocations: 1.36 MB / 1.288 GB, free: 218.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001057/2.221, allocations: 110.5 kB / 1.288 GB, free: 218.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003124/2.225, allocations: 289 kB / 1.289 GB, free: 218.7 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001791/2.226, allocations: 0.52 MB / 1.289 GB, free: 218.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003562/2.227, allocations: 141.6 kB / 1.289 GB, free: 218.6 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002023/2.229, allocations: 1.782 MB / 1.291 GB, free: 217.9 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/2.229, allocations: 0 / 1.291 GB, free: 217.9 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005846/2.235, allocations: 2.46 MB / 1.293 GB, free: 217.7 MB / 0.7481 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.000547/2.235, allocations: 245.2 kB / 1.294 GB, free: 217.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02102/2.256, allocations: 14.54 MB / 1.308 GB, free: 210.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.928e-05/2.256, allocations: 3.812 kB / 1.308 GB, free: 210.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.01545/2.272, allocations: 9.358 MB / 1.317 GB, free: 206 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006145/2.278, allocations: 1.375 MB / 1.318 GB, free: 205 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02173/2.3, allocations: 15.58 MB / 1.334 GB, free: 191.1 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00469/2.304, allocations: 4.894 MB / 1.338 GB, free: 187.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002288/2.307, allocations: 0.7486 MB / 1.339 GB, free: 186.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005355/2.307, allocations: 195.4 kB / 1.339 GB, free: 186.5 MB / 0.7481 GB Notification: Performance of SimCode: time 8.81e-07/2.307, allocations: 0 / 1.339 GB, free: 186.5 MB / 0.7481 GB Notification: Performance of Templates: time 0.1724/2.48, allocations: 144.7 MB / 1.481 GB, free: 43.36 MB / 0.7481 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)