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.001622/0.001622, allocations: 104.5 kB / 16.27 MB, free: 6.047 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.001796/0.001796, allocations: 188 kB / 17.2 MB, free: 5.68 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00248/0.00248, allocations: 286.9 kB / 291.3 MB, free: 14.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.186/1.186, allocations: 178.6 MB / 0.5079 GB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 103.8 kB / 0.6071 GB, free: 9.258 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1665, allocations: 89.14 MB / 0.6942 GB, free: 36 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.2772/0.4437, allocations: 41.16 MB / 0.7344 GB, free: 30.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01911/0.4629, allocations: 15.09 MB / 0.7491 GB, free: 20.69 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003402/0.4663, allocations: 188.8 kB / 0.7493 GB, free: 20.63 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0092/0.4755, allocations: 4.467 MB / 0.7536 GB, free: 17.95 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006226/0.4818, allocations: 2.792 MB / 0.7564 GB, free: 16.22 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006406/0.4882, allocations: 3.159 MB / 0.7595 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01189/0.5001, allocations: 11.4 MB / 0.7706 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01752/0.5176, allocations: 12.63 MB / 0.7829 GB, free: 4.262 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007908/0.5256, allocations: 4.803 MB / 0.7876 GB, free: 2.098 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008865/0.5345, allocations: 5.389 MB / 0.7929 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003336/0.5378, allocations: 0.9482 MB / 0.7938 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006654/0.5445, allocations: 2.039 MB / 0.7958 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.009537/0.5541, allocations: 3.687 MB / 0.7994 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0111/0.5652, allocations: 4.296 MB / 0.8036 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02019/0.5854, allocations: 14.19 MB / 0.8174 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.5854, allocations: 0 / 0.8174 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.819e-06/0.5854, allocations: 8 kB / 0.8175 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003857/0.5858, allocations: 0 / 0.8175 GB, free: 13.75 MB / 0.5762 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.02168/0.6075, allocations: 7.592 MB / 0.8249 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.6076, allocations: 8.031 kB / 0.8249 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/0.6188, allocations: 1.526 MB / 0.8264 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009464/0.6283, allocations: 4.205 MB / 0.8305 GB, free: 264 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005028/0.6288, allocations: 456.5 kB / 0.8309 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002359/0.6312, allocations: 0.5977 MB / 0.8315 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02485/0.6561, allocations: 10.68 MB / 0.8419 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002997/0.6564, allocations: 23.78 kB / 0.8419 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001867/0.6583, allocations: 263.9 kB / 0.8422 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003254/0.6615, allocations: 0.7768 MB / 0.843 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01865/0.6802, allocations: 8.561 MB / 0.8513 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06779/0.748, allocations: 46.86 MB / 0.8971 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006969/0.755, allocations: 4.301 MB / 0.9013 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006222/0.7613, allocations: 3.701 MB / 0.9049 GB, free: 15.86 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000374/0.7617, allocations: 42.72 kB / 0.9049 GB, free: 15.82 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.071e-05/0.7618, allocations: 73.34 kB / 0.905 GB, free: 15.74 MB / 0.67 GB Notification: Performance of pre-optimization done (n=353): time 6.031e-06/0.7618, allocations: 0 / 0.905 GB, free: 15.74 MB / 0.67 GB Notification: Performance of matching and sorting (n=578): time 0.7825/1.544, allocations: 122.8 MB / 1.025 GB, free: 202.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/1.544, allocations: 115.2 kB / 1.025 GB, free: 202.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00423/1.549, allocations: 2.684 MB / 1.028 GB, free: 201.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.55, allocations: 124 kB / 1.028 GB, free: 201.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001614/1.551, allocations: 2.674 MB / 1.03 GB, free: 199.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002379/1.554, allocations: 1.953 MB / 1.032 GB, free: 198.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001959/1.556, allocations: 0.9252 MB / 1.033 GB, free: 197.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.98e-05/1.556, allocations: 302.2 kB / 1.033 GB, free: 197.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006793/1.563, allocations: 4.083 MB / 1.037 GB, free: 195.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007273/1.57, allocations: 5.009 MB / 1.042 GB, free: 193 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01443/1.584, allocations: 9.853 MB / 1.052 GB, free: 187.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.306e-05/1.584, allocations: 7.906 kB / 1.052 GB, free: 187.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03734/1.622, allocations: 17 MB / 1.069 GB, free: 180.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/1.622, allocations: 16 kB / 1.069 GB, free: 180.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.582e-05/1.622, allocations: 24 kB / 1.069 GB, free: 180.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02929/1.651, allocations: 9.149 MB / 1.078 GB, free: 172.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002296/1.654, allocations: 0.5187 MB / 1.078 GB, free: 172 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08917/1.743, allocations: 77.03 MB / 1.153 GB, free: 93.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005337/1.748, allocations: 275.8 kB / 1.154 GB, free: 93.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008173/1.749, allocations: 195.9 kB / 1.154 GB, free: 93.01 MB / 0.7325 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.003928/1.753, allocations: 2.421 MB / 1.156 GB, free: 90.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/1.754, allocations: 470.5 kB / 1.157 GB, free: 90.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03564/1.79, allocations: 16.83 MB / 1.173 GB, free: 73.14 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.588e-05/1.79, allocations: 56 kB / 1.173 GB, free: 73.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001626/1.79, allocations: 75.98 kB / 1.173 GB, free: 73.01 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-05/1.79, allocations: 23.91 kB / 1.173 GB, free: 72.99 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04803/1.838, allocations: 25.66 MB / 1.198 GB, free: 47.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.278e-05/1.838, allocations: 4 kB / 1.198 GB, free: 47.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/1.84, allocations: 329.1 kB / 1.199 GB, free: 46.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0273/1.867, allocations: 8.33 MB / 1.207 GB, free: 38.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001075/1.868, allocations: 111.9 kB / 1.207 GB, free: 38.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3709/2.239, allocations: 73.87 MB / 1.279 GB, free: 217.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/2.239, allocations: 11.47 kB / 1.279 GB, free: 217.8 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03726/2.277, allocations: 21.57 MB / 1.3 GB, free: 216.6 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003263/2.28, allocations: 1.357 MB / 1.301 GB, free: 216 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001236/2.281, allocations: 111.5 kB / 1.301 GB, free: 215.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00359/2.285, allocations: 280.8 kB / 1.302 GB, free: 215.9 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001662/2.287, allocations: 0.5253 MB / 1.302 GB, free: 215.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003763/2.287, allocations: 147.2 kB / 1.302 GB, free: 215.7 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002247/2.289, allocations: 1.778 MB / 1.304 GB, free: 215.1 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/2.289, allocations: 3.656 kB / 1.304 GB, free: 215.1 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.008147/2.297, allocations: 2.462 MB / 1.306 GB, free: 214.8 MB / 0.7637 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.001337/2.299, allocations: 240.5 kB / 1.307 GB, free: 214.6 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0362/2.335, allocations: 18.67 MB / 1.325 GB, free: 207.9 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/2.335, allocations: 2.406 kB / 1.325 GB, free: 207.9 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01834/2.353, allocations: 9.354 MB / 1.334 GB, free: 203.4 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008107/2.361, allocations: 1.379 MB / 1.335 GB, free: 203 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02965/2.391, allocations: 16.65 MB / 1.352 GB, free: 195.6 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007486/2.399, allocations: 4.992 MB / 1.357 GB, free: 194 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/2.4, allocations: 215.6 kB / 1.357 GB, free: 194 MB / 0.7637 GB Notification: Performance of SimCode: time 8.32e-07/2.4, allocations: 3.875 kB / 1.357 GB, free: 194 MB / 0.7637 GB Notification: Performance of Templates: time 0.571/2.971, allocations: 474.6 MB / 1.82 GB, free: 6.473 MB / 0.7637 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)