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.001772/0.001772, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002021/0.002021, allocations: 194.9 kB / 16.14 MB, free: 6.637 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.485/1.485, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002747/0.002747, allocations: 282.6 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.062/1.062, allocations: 178.6 MB / 0.5068 GB, free: 4.785 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00282/0.002821, allocations: 99.81 kB / 0.6057 GB, free: 25.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1865, allocations: 89.16 MB / 0.6928 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03307/0.2196, allocations: 26.42 MB / 0.7186 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01453/0.2341, allocations: 8.067 MB / 0.7265 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00246/0.2366, allocations: 107.4 kB / 0.7266 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.007123/0.2438, allocations: 2.574 MB / 0.7291 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004706/0.2485, allocations: 1.493 MB / 0.7306 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004455/0.253, allocations: 1.532 MB / 0.7321 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0108/0.2638, allocations: 8.697 MB / 0.7405 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01312/0.277, allocations: 8.203 MB / 0.7486 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004163/0.2811, allocations: 2.191 MB / 0.7507 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005291/0.2865, allocations: 2.889 MB / 0.7535 GB, free: 6.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001185/0.2877, allocations: 348 kB / 0.7539 GB, free: 6.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003327/0.291, allocations: 1.318 MB / 0.7551 GB, free: 4.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002535/0.2936, allocations: 1.879 MB / 0.757 GB, free: 2.867 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003531/0.2971, allocations: 2.189 MB / 0.7591 GB, free: 0.668 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.3008/0.5979, allocations: 7.922 MB / 0.7668 GB, free: 28.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.5979, allocations: 1.656 kB / 0.7668 GB, free: 28.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5979, allocations: 0 / 0.7668 GB, free: 28.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000255/0.5982, allocations: 0 / 0.7668 GB, free: 28.12 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01206/0.6103, allocations: 4.232 MB / 0.771 GB, free: 26.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.6103, allocations: 13.53 kB / 0.771 GB, free: 26.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004975/0.6153, allocations: 0.802 MB / 0.7718 GB, free: 26.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005035/0.6204, allocations: 2.426 MB / 0.7741 GB, free: 25.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/0.6206, allocations: 274.3 kB / 0.7744 GB, free: 25.72 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009823/0.6216, allocations: 373.6 kB / 0.7748 GB, free: 25.71 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01055/0.6322, allocations: 5.992 MB / 0.7806 GB, free: 24.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.53e-05/0.6323, allocations: 16.12 kB / 0.7806 GB, free: 24.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004387/0.6327, allocations: 158.8 kB / 0.7808 GB, free: 24.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000593/0.6333, allocations: 287.4 kB / 0.7811 GB, free: 24.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007763/0.6411, allocations: 4.518 MB / 0.7855 GB, free: 24.9 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02779/0.6689, allocations: 27.66 MB / 0.8125 GB, free: 18.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.6705, allocations: 1.12 MB / 0.8136 GB, free: 17.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.6717, allocations: 1.02 MB / 0.8146 GB, free: 17.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.839e-05/0.6718, allocations: 17.3 kB / 0.8146 GB, free: 17.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.6719, allocations: 44.94 kB / 0.8146 GB, free: 17.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 2.815e-06/0.6719, allocations: 0 / 0.8146 GB, free: 17.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131): time 0.02166/0.6936, allocations: 9.652 MB / 0.8241 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.6936, allocations: 66.53 kB / 0.8241 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/0.6957, allocations: 1.498 MB / 0.8256 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001628/0.6959, allocations: 47.36 kB / 0.8256 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001226/0.6971, allocations: 1.667 MB / 0.8273 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004794/0.6976, allocations: 468.8 kB / 0.8277 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005211/0.6981, allocations: 326.7 kB / 0.828 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6983, allocations: 306.8 kB / 0.8283 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.6996, allocations: 0.9165 MB / 0.8292 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/0.7013, allocations: 1.457 MB / 0.8306 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003099/0.7044, allocations: 2.553 MB / 0.8331 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.086e-06/0.7044, allocations: 3.969 kB / 0.8331 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005557/0.71, allocations: 3.286 MB / 0.8363 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.71, allocations: 14.47 kB / 0.8363 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.7101, allocations: 26.12 kB / 0.8364 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002307/0.7124, allocations: 0.744 MB / 0.8371 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.7138, allocations: 381.3 kB / 0.8375 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01592/0.7298, allocations: 15.77 MB / 0.8529 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/0.7317, allocations: 103.8 kB / 0.853 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.7319, allocations: 84.05 kB / 0.853 GB, free: 4.02 MB / 0.5762 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.002573/0.7344, allocations: 1.299 MB / 0.8543 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004366/0.7349, allocations: 197.7 kB / 0.8545 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005272/0.7402, allocations: 2.796 MB / 0.8572 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.7402, allocations: 12 kB / 0.8572 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.7402, allocations: 8 kB / 0.8572 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.7402, allocations: 5.953 kB / 0.8573 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.7513, allocations: 6.218 MB / 0.8633 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.7513, allocations: 8.031 kB / 0.8633 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.7525, allocations: 230.2 kB / 0.8636 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002139/0.7547, allocations: 0.6672 MB / 0.8642 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.7548, allocations: 43.98 kB / 0.8642 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01601/0.7708, allocations: 15.51 MB / 0.8794 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.7709, allocations: 11.75 kB / 0.8794 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006824/0.7777, allocations: 4.007 MB / 0.8833 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.7789, allocations: 450.7 kB / 0.8837 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.7791, allocations: 35.98 kB / 0.8838 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008992/0.78, allocations: 79.89 kB / 0.8839 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000331/0.7804, allocations: 120.3 kB / 0.884 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.723e-05/0.7805, allocations: 40 kB / 0.884 GB, free: 3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001432/0.7819, allocations: 0.9942 MB / 0.885 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7819, allocations: 0 / 0.885 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002352/0.7843, allocations: 0.6836 MB / 0.8856 GB, free: 1.332 MB / 0.6075 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.0002598/0.7845, allocations: 157.8 kB / 0.8858 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005386/0.7899, allocations: 3.502 MB / 0.8892 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.79, allocations: 0 / 0.8892 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003315/0.7933, allocations: 2.3 MB / 0.8915 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/0.7962, allocations: 0.6152 MB / 0.8921 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/0.8096, allocations: 8.103 MB / 0.9 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002941/0.8126, allocations: 2.676 MB / 0.9026 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00184/0.8145, allocations: 485.4 kB / 0.903 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003392/0.8148, allocations: 123.4 kB / 0.9032 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of SimCode: time 7.61e-07/0.8148, allocations: 0 / 0.9032 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.06076/0.8756, allocations: 32.59 MB / 0.935 GB, free: 15.17 MB / 0.67 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)