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.001604/0.001604, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00177/0.00177, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.492/1.492, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002557/0.002557, allocations: 282.9 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.108/1.108, allocations: 178.6 MB / 0.5068 GB, free: 4.809 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002758/0.002758, allocations: 95.23 kB / 0.6057 GB, free: 25.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1563, allocations: 89.15 MB / 0.6928 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04817/0.2045, allocations: 40.79 MB / 0.7326 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02564/0.2302, allocations: 15.07 MB / 0.7473 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003963/0.2342, allocations: 175.1 kB / 0.7475 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01088/0.2451, allocations: 4.147 MB / 0.7516 GB, free: 8.516 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0079/0.253, allocations: 2.636 MB / 0.7541 GB, free: 5.867 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008645/0.2617, allocations: 2.892 MB / 0.757 GB, free: 2.977 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.312/0.5737, allocations: 15.99 MB / 0.7726 GB, free: 17.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01828/0.592, allocations: 13.64 MB / 0.7859 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007218/0.5992, allocations: 4.109 MB / 0.7899 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008302/0.6076, allocations: 5.487 MB / 0.7953 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001584/0.6092, allocations: 0.6112 MB / 0.7959 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004487/0.6137, allocations: 2.035 MB / 0.7978 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003342/0.617, allocations: 3.359 MB / 0.8011 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0051/0.6221, allocations: 3.916 MB / 0.805 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.6324, allocations: 14.04 MB / 0.8187 GB, free: 2.809 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6324, allocations: 0 / 0.8187 GB, free: 2.809 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6324, allocations: 4 kB / 0.8187 GB, free: 2.805 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000302/0.6327, allocations: 2.469 kB / 0.8187 GB, free: 2.805 MB / 0.545 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.01859/0.6513, allocations: 7.591 MB / 0.8261 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.6514, allocations: 8.031 kB / 0.8261 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/0.6622, allocations: 1.515 MB / 0.8276 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008954/0.6712, allocations: 4.215 MB / 0.8317 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000408/0.6716, allocations: 460.9 kB / 0.8321 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001597/0.6732, allocations: 0.5938 MB / 0.8327 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01887/0.6921, allocations: 10.68 MB / 0.8431 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001423/0.6923, allocations: 37.2 kB / 0.8432 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007474/0.693, allocations: 261 kB / 0.8434 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0029/0.696, allocations: 0.7729 MB / 0.8442 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01527/0.7112, allocations: 8.561 MB / 0.8525 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06054/0.7718, allocations: 46.85 MB / 0.8983 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005991/0.7778, allocations: 4.307 MB / 0.9025 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005575/0.7834, allocations: 3.704 MB / 0.9061 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/0.7837, allocations: 38.78 kB / 0.9062 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.538e-05/0.7838, allocations: 69.34 kB / 0.9062 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=353): time 5.02e-06/0.7838, allocations: 3.938 kB / 0.9062 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of matching and sorting (n=578): time 0.5195/1.303, allocations: 122.7 MB / 1.026 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.303, allocations: 115.9 kB / 1.026 GB, free: 10.97 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004704/1.308, allocations: 2.677 MB / 1.029 GB, free: 8.297 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.001044/1.309, allocations: 121.7 kB / 1.029 GB, free: 8.172 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002249/1.311, allocations: 2.674 MB / 1.032 GB, free: 5.477 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.002895/1.314, allocations: 1.956 MB / 1.033 GB, free: 3.535 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003837/1.318, allocations: 0.9248 MB / 1.034 GB, free: 2.602 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.318, allocations: 301.1 kB / 1.035 GB, free: 2.305 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007973/1.326, allocations: 4.079 MB / 1.039 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009593/1.336, allocations: 5.018 MB / 1.044 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3467/1.683, allocations: 9.847 MB / 1.053 GB, free: 267.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.789e-05/1.683, allocations: 6.25 kB / 1.053 GB, free: 267.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04119/1.724, allocations: 16.99 MB / 1.07 GB, free: 262.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.439e-05/1.724, allocations: 19.47 kB / 1.07 GB, free: 262.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.804e-05/1.724, allocations: 22.14 kB / 1.07 GB, free: 262.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03268/1.757, allocations: 9.086 MB / 1.079 GB, free: 260.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/1.759, allocations: 0.5312 MB / 1.079 GB, free: 260.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08348/1.843, allocations: 70.52 MB / 1.148 GB, free: 216.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004794/1.848, allocations: 281.7 kB / 1.148 GB, free: 216.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004397/1.848, allocations: 196 kB / 1.148 GB, free: 215.9 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.003674/1.852, allocations: 2.419 MB / 1.151 GB, free: 213.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008242/1.853, allocations: 474.4 kB / 1.151 GB, free: 213 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0315/1.884, allocations: 16.81 MB / 1.168 GB, free: 196 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.841e-05/1.884, allocations: 56 kB / 1.168 GB, free: 196 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001613/1.884, allocations: 72 kB / 1.168 GB, free: 195.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-05/1.885, allocations: 27.89 kB / 1.168 GB, free: 195.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04987/1.934, allocations: 25.66 MB / 1.193 GB, free: 170 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.73e-05/1.935, allocations: 8 kB / 1.193 GB, free: 170 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/1.936, allocations: 316.4 kB / 1.193 GB, free: 169.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0275/1.964, allocations: 8.277 MB / 1.201 GB, free: 161.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0012/1.965, allocations: 108 kB / 1.201 GB, free: 161.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0811/2.046, allocations: 67.4 MB / 1.267 GB, free: 92.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/2.046, allocations: 11.94 kB / 1.267 GB, free: 92.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03971/2.086, allocations: 21.56 MB / 1.288 GB, free: 70.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004014/2.09, allocations: 1.363 MB / 1.29 GB, free: 69.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001586/2.092, allocations: 109.2 kB / 1.29 GB, free: 69.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00389/2.096, allocations: 287.6 kB / 1.29 GB, free: 68.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002113/2.098, allocations: 0.5221 MB / 1.291 GB, free: 68.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004653/2.098, allocations: 147.9 kB / 1.291 GB, free: 68.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002395/2.101, allocations: 1.776 MB / 1.292 GB, free: 66.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/2.101, allocations: 0 / 1.292 GB, free: 66.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.008291/2.109, allocations: 2.461 MB / 1.295 GB, free: 63.84 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.0009662/2.11, allocations: 242.4 kB / 1.295 GB, free: 63.6 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02347/2.133, allocations: 14.48 MB / 1.309 GB, free: 48.94 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.589e-05/2.134, allocations: 320 / 1.309 GB, free: 48.94 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01813/2.152, allocations: 9.364 MB / 1.318 GB, free: 39.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008297/2.16, allocations: 1.285 MB / 1.32 GB, free: 38.19 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03036/2.19, allocations: 18.73 MB / 1.338 GB, free: 19.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009647/2.2, allocations: 4.893 MB / 1.343 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.004041/2.204, allocations: 0.7448 MB / 1.343 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/2.205, allocations: 195.4 kB / 1.344 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of SimCode: time 1.423e-06/2.205, allocations: 7.938 kB / 1.344 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of Templates: time 0.5363/2.742, allocations: 142.8 MB / 1.483 GB, free: 165.9 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)