Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007946/0.007946, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001612/0.001612, allocations: 194.5 kB / 16.67 MB, free: 5.953 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.311/1.311, allocations: 222.9 MB / 240.4 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.002243/0.002243, allocations: 298.9 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9404/0.9404, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 99.86 kB / 0.6815 GB, free: 6.902 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4545/0.4562, allocations: 86.97 MB / 0.7664 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02753/0.4838, allocations: 26.65 MB / 0.7924 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01317/0.497, allocations: 8.086 MB / 0.8003 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002379/0.4994, allocations: 115.4 kB / 0.8004 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0067/0.5062, allocations: 2.769 MB / 0.8031 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004547/0.5107, allocations: 1.668 MB / 0.8048 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004461/0.5152, allocations: 1.674 MB / 0.8064 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006926/0.5221, allocations: 6.169 MB / 0.8124 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008969/0.5311, allocations: 7.299 MB / 0.8195 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00393/0.5351, allocations: 2.617 MB / 0.8221 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004337/0.5394, allocations: 2.835 MB / 0.8249 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001304/0.5407, allocations: 0.5078 MB / 0.8254 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003625/0.5444, allocations: 1.279 MB / 0.8266 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002862/0.5472, allocations: 2.047 MB / 0.8286 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004581/0.5518, allocations: 2.385 MB / 0.8309 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008169/0.56, allocations: 8.055 MB / 0.8388 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.56, allocations: 0 / 0.8388 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5601, allocations: 0 / 0.8388 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001311/0.5602, allocations: 0 / 0.8388 GB, free: 9.422 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.007439/0.5676, allocations: 4.228 MB / 0.8429 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5677, allocations: 8.031 kB / 0.8429 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004062/0.5717, allocations: 0.8039 MB / 0.8437 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003963/0.5757, allocations: 2.573 MB / 0.8462 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.5759, allocations: 271.7 kB / 0.8465 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006385/0.5766, allocations: 380.5 kB / 0.8469 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008632/0.5852, allocations: 5.996 MB / 0.8527 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.35e-05/0.5853, allocations: 23.77 kB / 0.8527 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003555/0.5857, allocations: 156 kB / 0.8529 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005687/0.5862, allocations: 278.9 kB / 0.8532 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006708/0.593, allocations: 4.524 MB / 0.8576 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02537/0.6183, allocations: 27.46 MB / 0.8844 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.6199, allocations: 1.119 MB / 0.8855 GB, free: 6.723 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.6212, allocations: 1.015 MB / 0.8865 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.497e-05/0.6213, allocations: 17 kB / 0.8865 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.6214, allocations: 43.56 kB / 0.8865 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 2.645e-06/0.6214, allocations: 3.938 kB / 0.8865 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of matching and sorting (n=131): time 0.02206/0.6434, allocations: 9.669 MB / 0.896 GB, free: 11.76 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.6435, allocations: 64.72 kB / 0.896 GB, free: 11.68 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002415/0.6459, allocations: 1.498 MB / 0.8975 GB, free: 10.19 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.6461, allocations: 45.7 kB / 0.8976 GB, free: 10.14 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001163/0.6472, allocations: 1.663 MB / 0.8992 GB, free: 8.449 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004122/0.6477, allocations: 485.2 kB / 0.8996 GB, free: 7.969 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005379/0.6482, allocations: 327.2 kB / 0.8999 GB, free: 7.641 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.554e-05/0.6483, allocations: 305.1 kB / 0.9002 GB, free: 7.34 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.6497, allocations: 0.9174 MB / 0.9011 GB, free: 6.422 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/0.6514, allocations: 1.463 MB / 0.9026 GB, free: 4.723 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003199/0.6546, allocations: 2.55 MB / 0.9051 GB, free: 1.93 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/0.6547, allocations: 4 kB / 0.9051 GB, free: 1.926 MB / 0.67 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005954/0.6606, allocations: 3.285 MB / 0.9083 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.6607, allocations: 16 kB / 0.9083 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-05/0.6607, allocations: 16.88 kB / 0.9083 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00235/0.6631, allocations: 0.7412 MB / 0.909 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.6647, allocations: 387.4 kB / 0.9094 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/0.6803, allocations: 17.03 MB / 0.926 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.682, allocations: 103.8 kB / 0.9261 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002532/0.6822, allocations: 72 kB / 0.9262 GB, free: 10.95 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002209/0.6844, allocations: 1.311 MB / 0.9275 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000474/0.6849, allocations: 197.7 kB / 0.9277 GB, free: 9.434 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00528/0.6902, allocations: 2.792 MB / 0.9304 GB, free: 6.602 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.6902, allocations: 12 kB / 0.9304 GB, free: 6.59 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.171e-05/0.6903, allocations: 8 kB / 0.9304 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.6903, allocations: 8.109 kB / 0.9304 GB, free: 6.574 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.7007, allocations: 6.221 MB / 0.9365 GB, free: 192 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.7007, allocations: 8 kB / 0.9365 GB, free: 184 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.7019, allocations: 235.6 kB / 0.9367 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002009/0.7039, allocations: 0.6636 MB / 0.9374 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.7041, allocations: 39.92 kB / 0.9374 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01521/0.7193, allocations: 16.78 MB / 0.9538 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.7193, allocations: 4 kB / 0.9538 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006337/0.7257, allocations: 4.008 MB / 0.9577 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000948/0.7266, allocations: 458.5 kB / 0.9582 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004223/0.7271, allocations: 40.06 kB / 0.9582 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.7282, allocations: 83.83 kB / 0.9583 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003006/0.7285, allocations: 116.7 kB / 0.9584 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-05/0.7286, allocations: 40 kB / 0.9584 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001519/0.7301, allocations: 0.9903 MB / 0.9594 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.403e-06/0.7301, allocations: 0 / 0.9594 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002274/0.7324, allocations: 0.6874 MB / 0.9601 GB, free: 6.641 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002666/0.7327, allocations: 151 kB / 0.9602 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005201/0.7379, allocations: 3.526 MB / 0.9636 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.7379, allocations: 0 / 0.9636 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003074/0.741, allocations: 2.296 MB / 0.9659 GB, free: 440 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3198/1.061, allocations: 0.662 MB / 0.9665 GB, free: 184.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/1.071, allocations: 6.442 MB / 0.9728 GB, free: 182.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002904/1.074, allocations: 2.66 MB / 0.9754 GB, free: 181.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001593/1.075, allocations: 486.8 kB / 0.9759 GB, free: 181.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/1.076, allocations: 119.2 kB / 0.976 GB, free: 181.3 MB / 0.7325 GB Notification: Performance of SimCode: time 8.21e-07/1.076, allocations: 0 / 0.976 GB, free: 181.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.04882/1.125, allocations: 34.16 MB / 1.009 GB, free: 158.2 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)