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.004562/0.004562, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001031/0.001031, allocations: 195 kB / 16.67 MB, free: 5.977 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002021/0.002021, allocations: 280.3 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9244/0.9244, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 96.22 kB / 0.6815 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4275, allocations: 86.98 MB / 0.7664 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02821/0.4557, allocations: 26.64 MB / 0.7924 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01513/0.4709, allocations: 8.082 MB / 0.8003 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003129/0.4741, allocations: 115.4 kB / 0.8004 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006618/0.4807, allocations: 2.766 MB / 0.8031 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004237/0.485, allocations: 1.589 MB / 0.8047 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004026/0.489, allocations: 1.665 MB / 0.8063 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007198/0.4962, allocations: 6.15 MB / 0.8123 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007808/0.5041, allocations: 7.3 MB / 0.8194 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00376/0.5079, allocations: 2.582 MB / 0.822 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004136/0.512, allocations: 2.831 MB / 0.8247 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009397/0.513, allocations: 0.5078 MB / 0.8252 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00259/0.5156, allocations: 1.279 MB / 0.8265 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001988/0.5176, allocations: 2.051 MB / 0.8285 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002858/0.5204, allocations: 2.385 MB / 0.8308 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008437/0.5289, allocations: 8.078 MB / 0.8387 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.5289, allocations: 0 / 0.8387 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.444e-06/0.529, allocations: 0 / 0.8387 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002207/0.5292, allocations: 0 / 0.8387 GB, free: 9.602 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.008852/0.538, allocations: 4.336 MB / 0.8429 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.5381, allocations: 8.031 kB / 0.8429 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004174/0.5423, allocations: 0.8179 MB / 0.8437 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004367/0.5467, allocations: 2.59 MB / 0.8463 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.5469, allocations: 271.6 kB / 0.8465 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007355/0.5476, allocations: 384.5 kB / 0.8469 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01227/0.5599, allocations: 5.992 MB / 0.8527 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.32e-05/0.56, allocations: 27.81 kB / 0.8528 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00037/0.5604, allocations: 160 kB / 0.8529 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005706/0.561, allocations: 278.9 kB / 0.8532 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007468/0.5685, allocations: 4.52 MB / 0.8576 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02933/0.5978, allocations: 27.5 MB / 0.8844 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.5995, allocations: 1.122 MB / 0.8855 GB, free: 6.723 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.6009, allocations: 1.011 MB / 0.8865 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-05/0.6009, allocations: 13 kB / 0.8865 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.522e-05/0.601, allocations: 47.5 kB / 0.8866 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.186e-06/0.601, allocations: 7.938 kB / 0.8866 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of matching and sorting (n=131): time 0.02184/0.6229, allocations: 9.722 MB / 0.8961 GB, free: 11.71 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.6229, allocations: 64.72 kB / 0.8962 GB, free: 11.64 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/0.6252, allocations: 1.498 MB / 0.8976 GB, free: 10.14 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.6254, allocations: 49.7 kB / 0.8977 GB, free: 10.09 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.6266, allocations: 1.715 MB / 0.8993 GB, free: 8.352 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004276/0.6271, allocations: 495.8 kB / 0.8998 GB, free: 7.863 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005874/0.6277, allocations: 327.4 kB / 0.9001 GB, free: 7.535 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.6278, allocations: 305.1 kB / 0.9004 GB, free: 7.234 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.6292, allocations: 0.9174 MB / 0.9013 GB, free: 6.316 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.6309, allocations: 1.459 MB / 0.9027 GB, free: 4.621 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003325/0.6342, allocations: 2.55 MB / 0.9052 GB, free: 1.828 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/0.6342, allocations: 11.94 kB / 0.9052 GB, free: 1.816 MB / 0.67 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00577/0.64, allocations: 3.295 MB / 0.9085 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.6401, allocations: 16 kB / 0.9085 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.841e-05/0.6401, allocations: 16 kB / 0.9085 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002257/0.6424, allocations: 0.7377 MB / 0.9092 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.6439, allocations: 387.4 kB / 0.9096 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01542/0.6594, allocations: 17.05 MB / 0.9262 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.661, allocations: 107.9 kB / 0.9263 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002512/0.6613, allocations: 72 kB / 0.9264 GB, free: 10.81 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.002128/0.6634, allocations: 1.312 MB / 0.9277 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004671/0.6639, allocations: 214.7 kB / 0.9279 GB, free: 9.281 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005092/0.669, allocations: 2.784 MB / 0.9306 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.6691, allocations: 12 kB / 0.9306 GB, free: 6.445 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.556e-05/0.6691, allocations: 8 kB / 0.9306 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.6691, allocations: 7.969 kB / 0.9306 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.6802, allocations: 6.221 MB / 0.9367 GB, free: 44 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.6803, allocations: 12.11 kB / 0.9367 GB, free: 32 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.6815, allocations: 231.6 kB / 0.9369 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002056/0.6835, allocations: 0.6632 MB / 0.9376 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/0.6837, allocations: 35.94 kB / 0.9376 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01536/0.699, allocations: 16.8 MB / 0.954 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/0.6991, allocations: 7.938 kB / 0.954 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006549/0.7056, allocations: 4.006 MB / 0.9579 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009724/0.7066, allocations: 463.7 kB / 0.9584 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004652/0.7071, allocations: 43.86 kB / 0.9584 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.7083, allocations: 91.83 kB / 0.9585 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000332/0.7087, allocations: 112.7 kB / 0.9586 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.7088, allocations: 40 kB / 0.9587 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001621/0.7104, allocations: 0.9981 MB / 0.9596 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7104, allocations: 0 / 0.9596 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00253/0.713, allocations: 0.6836 MB / 0.9603 GB, free: 6.469 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.000298/0.7133, allocations: 151 kB / 0.9604 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005178/0.7185, allocations: 3.523 MB / 0.9639 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.7185, allocations: 4.25 kB / 0.9639 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003091/0.7216, allocations: 2.299 MB / 0.9661 GB, free: 260 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3534/1.075, allocations: 0.6714 MB / 0.9668 GB, free: 184.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/1.091, allocations: 6.55 MB / 0.9732 GB, free: 182.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004024/1.095, allocations: 2.662 MB / 0.9758 GB, free: 181.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001737/1.097, allocations: 495.3 kB / 0.9763 GB, free: 181.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/1.097, allocations: 119.3 kB / 0.9764 GB, free: 181.2 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/1.097, allocations: 0 / 0.9764 GB, free: 181.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.04964/1.147, allocations: 34.16 MB / 1.01 GB, free: 157.9 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)