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.0009791/0.0009791, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008099/0.008099, allocations: 171.6 kB / 16.27 MB, free: 6.328 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001778/0.001777, allocations: 266.9 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9734/0.9734, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004452/0.0004453, allocations: 14.53 kB / 0.5987 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1644, allocations: 88.54 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03984/0.2042, allocations: 39.84 MB / 0.724 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0228/0.2271, allocations: 14.95 MB / 0.7386 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004225/0.2313, allocations: 163 kB / 0.7388 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00267/0.234, allocations: 0.8606 MB / 0.7396 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007482/0.2415, allocations: 2.64 MB / 0.7422 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006676/0.2482, allocations: 2.704 MB / 0.7448 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.02013/0.2684, allocations: 16.01 MB / 0.7605 GB, free: 1.711 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3037/0.5721, allocations: 15.76 MB / 0.7759 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007096/0.5792, allocations: 3.538 MB / 0.7793 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009286/0.5886, allocations: 4.759 MB / 0.784 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002737/0.5913, allocations: 397.6 kB / 0.7844 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005351/0.5967, allocations: 1.821 MB / 0.7861 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004159/0.6009, allocations: 3.004 MB / 0.7891 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.005754/0.6066, allocations: 3.527 MB / 0.7925 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.6189, allocations: 13.59 MB / 0.8058 GB, free: 8.887 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.6189, allocations: 2.344 kB / 0.8058 GB, free: 8.887 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6189, allocations: 0 / 0.8058 GB, free: 8.887 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003894/0.6193, allocations: 0 / 0.8058 GB, free: 8.887 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.0157/0.635, allocations: 6.156 MB / 0.8118 GB, free: 5.438 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.6351, allocations: 8.781 kB / 0.8118 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/0.6456, allocations: 1.526 MB / 0.8133 GB, free: 4.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008906/0.6546, allocations: 4.204 MB / 0.8174 GB, free: 3.289 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003487/0.6549, allocations: 453.4 kB / 0.8178 GB, free: 3.273 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002642/0.6576, allocations: 0.5919 MB / 0.8184 GB, free: 3.266 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.017/0.6746, allocations: 10.69 MB / 0.8288 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001471/0.6748, allocations: 31.38 kB / 0.8289 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007465/0.6755, allocations: 264.3 kB / 0.8291 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002726/0.6783, allocations: 0.7816 MB / 0.8299 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01605/0.6943, allocations: 8.556 MB / 0.8383 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05865/0.753, allocations: 47 MB / 0.8842 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005733/0.7588, allocations: 4.31 MB / 0.8884 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005157/0.764, allocations: 3.692 MB / 0.892 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/0.7642, allocations: 38.78 kB / 0.892 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.908e-05/0.7643, allocations: 80.14 kB / 0.8921 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=353): time 5.139e-06/0.7643, allocations: 0 / 0.8921 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=578): time 0.5037/1.268, allocations: 128.1 MB / 1.017 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.084e-05/1.268, allocations: 107.9 kB / 1.017 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004745/1.273, allocations: 2.689 MB / 1.02 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001816/1.275, allocations: 125.7 kB / 1.02 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002274/1.277, allocations: 2.675 MB / 1.023 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.003652/1.281, allocations: 1.961 MB / 1.025 GB, free: 3.992 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008689/1.282, allocations: 446 kB / 1.025 GB, free: 3.551 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.282, allocations: 301.1 kB / 1.025 GB, free: 3.254 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006534/1.288, allocations: 4.078 MB / 1.029 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007923/1.296, allocations: 5.014 MB / 1.034 GB, free: 9.844 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3981/1.694, allocations: 9.844 MB / 1.044 GB, free: 264.7 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.246e-05/1.694, allocations: 7.125 kB / 1.044 GB, free: 264.7 MB / 0.7637 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04469/1.739, allocations: 17 MB / 1.06 GB, free: 261 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/1.739, allocations: 17.47 kB / 1.06 GB, free: 261 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.091e-05/1.739, allocations: 22.16 kB / 1.06 GB, free: 261 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03244/1.772, allocations: 9.089 MB / 1.069 GB, free: 258.8 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/1.775, allocations: 0.5215 MB / 1.07 GB, free: 258.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08813/1.863, allocations: 70.71 MB / 1.139 GB, free: 210.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005551/1.869, allocations: 284.3 kB / 1.139 GB, free: 210 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/1.87, allocations: 192 kB / 1.139 GB, free: 209.8 MB / 0.7637 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.005153/1.875, allocations: 2.424 MB / 1.142 GB, free: 207.4 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/1.876, allocations: 474.4 kB / 1.142 GB, free: 206.9 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03457/1.911, allocations: 16.82 MB / 1.159 GB, free: 190 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-05/1.911, allocations: 52 kB / 1.159 GB, free: 189.9 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001888/1.911, allocations: 72 kB / 1.159 GB, free: 189.8 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.874e-05/1.911, allocations: 27.89 kB / 1.159 GB, free: 189.8 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04596/1.957, allocations: 25.69 MB / 1.184 GB, free: 163.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.572e-05/1.957, allocations: 8.375 kB / 1.184 GB, free: 163.9 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/1.959, allocations: 323.5 kB / 1.184 GB, free: 163.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02652/1.985, allocations: 8.269 MB / 1.192 GB, free: 155.3 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001074/1.986, allocations: 108 kB / 1.192 GB, free: 155.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07752/2.064, allocations: 67.58 MB / 1.258 GB, free: 86.13 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/2.064, allocations: 11.94 kB / 1.258 GB, free: 86.12 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03874/2.103, allocations: 21.57 MB / 1.279 GB, free: 64.21 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003359/2.106, allocations: 1.362 MB / 1.281 GB, free: 62.82 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001393/2.108, allocations: 100 kB / 1.281 GB, free: 62.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003973/2.112, allocations: 287.6 kB / 1.281 GB, free: 62.45 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001857/2.113, allocations: 0.5299 MB / 1.282 GB, free: 61.91 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004251/2.114, allocations: 144 kB / 1.282 GB, free: 61.77 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002265/2.116, allocations: 1.772 MB / 1.283 GB, free: 60.01 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.2e-07/2.116, allocations: 0 / 1.283 GB, free: 60.01 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.007382/2.124, allocations: 2.465 MB / 1.286 GB, free: 57.54 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.0007483/2.124, allocations: 240.5 kB / 1.286 GB, free: 57.3 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.02346/2.148, allocations: 14.52 MB / 1.3 GB, free: 42.6 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/2.148, allocations: 0 / 1.3 GB, free: 42.6 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01651/2.164, allocations: 9.405 MB / 1.309 GB, free: 33.05 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009721/2.174, allocations: 1.273 MB / 1.311 GB, free: 31.8 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02349/2.198, allocations: 18.82 MB / 1.329 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005409/2.203, allocations: 4.9 MB / 1.334 GB, free: 7.941 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003214/2.206, allocations: 0.7409 MB / 1.335 GB, free: 7.195 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005717/2.207, allocations: 203.4 kB / 1.335 GB, free: 7 MB / 0.7637 GB Notification: Performance of SimCode: time 1.613e-06/2.207, allocations: 0 / 1.335 GB, free: 7 MB / 0.7637 GB Notification: Performance of Templates: time 0.4997/2.707, allocations: 138.7 MB / 1.47 GB, free: 153.8 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)