Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.001396/0.001396, allocations: 105.9 kB / 16.4 MB, free: 6.457 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.001422/0.001422, allocations: 191.8 kB / 17.34 MB, free: 5.734 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002543/0.002543, allocations: 289.5 kB / 291.5 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 1.048/1.048, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002801/0.002801, allocations: 95.78 kB / 0.6821 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4459, allocations: 86.98 MB / 0.7671 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007634/0.4536, allocations: 5.537 MB / 0.7725 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004802/0.4584, allocations: 2.642 MB / 0.775 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004523/0.4588, allocations: 23.81 kB / 0.7751 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.4608, allocations: 0.6827 MB / 0.7757 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.4619, allocations: 429.7 kB / 0.7761 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.463, allocations: 409.9 kB / 0.7765 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001142/0.4642, allocations: 0.9591 MB / 0.7775 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005645/0.4647, allocations: 374.4 kB / 0.7778 GB, free: 8.805 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004683/0.4652, allocations: 382.6 kB / 0.7782 GB, free: 8.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000534/0.4657, allocations: 402.4 kB / 0.7786 GB, free: 8.035 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.716e-05/0.4658, allocations: 48 kB / 0.7786 GB, free: 7.988 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006889/0.4665, allocations: 367.2 kB / 0.779 GB, free: 7.629 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.4668, allocations: 255.2 kB / 0.7792 GB, free: 7.379 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003983/0.4672, allocations: 350.2 kB / 0.7795 GB, free: 7.035 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.4684, allocations: 0.9785 MB / 0.7805 GB, free: 6.059 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4684, allocations: 0 / 0.7805 GB, free: 6.059 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4684, allocations: 0 / 0.7805 GB, free: 6.059 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.4684, allocations: 4 kB / 0.7805 GB, free: 6.055 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001677/0.4701, allocations: 0.9922 MB / 0.7815 GB, free: 5.012 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.4701, allocations: 8.031 kB / 0.7815 GB, free: 5.004 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.4716, allocations: 208.2 kB / 0.7817 GB, free: 4.801 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009383/0.4725, allocations: 0.53 MB / 0.7822 GB, free: 4.234 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/0.4725, allocations: 33.38 kB / 0.7822 GB, free: 4.199 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.4727, allocations: 64.5 kB / 0.7823 GB, free: 4.137 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.474, allocations: 0.8264 MB / 0.7831 GB, free: 3.234 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.474, allocations: 7.938 kB / 0.7831 GB, free: 3.227 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.29e-05/0.4741, allocations: 24 kB / 0.7831 GB, free: 3.203 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002131/0.4743, allocations: 64.94 kB / 0.7832 GB, free: 3.141 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009249/0.4752, allocations: 0.5774 MB / 0.7838 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005089/0.4803, allocations: 4.578 MB / 0.7882 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.4808, allocations: 279.3 kB / 0.7885 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.4811, allocations: 209.3 kB / 0.7887 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.4811, allocations: 4.281 kB / 0.7887 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.4812, allocations: 34.84 kB / 0.7887 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.315e-06/0.4812, allocations: 0 / 0.7887 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.006058/0.4872, allocations: 2.636 MB / 0.7913 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.4873, allocations: 55.41 kB / 0.7914 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005413/0.4878, allocations: 466 kB / 0.7918 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/0.4879, allocations: 37.7 kB / 0.7918 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.4881, allocations: 348.5 kB / 0.7922 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.4882, allocations: 146.7 kB / 0.7923 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.4884, allocations: 110.1 kB / 0.7924 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4886, allocations: 370.7 kB / 0.7928 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.489, allocations: 237 kB / 0.793 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/0.4895, allocations: 406.5 kB / 0.7934 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009354/0.4904, allocations: 0.674 MB / 0.794 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4904, allocations: 0 / 0.794 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001748/0.4921, allocations: 0.9138 MB / 0.7949 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.4922, allocations: 10.66 kB / 0.7949 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.4922, allocations: 11.98 kB / 0.795 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008313/0.493, allocations: 226.5 kB / 0.7952 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005262/0.4935, allocations: 119.8 kB / 0.7953 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005788/0.4993, allocations: 5.344 MB / 0.8005 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005477/0.4999, allocations: 31.97 kB / 0.8005 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.4999, allocations: 20.19 kB / 0.8006 GB, free: 220 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.000375/0.5003, allocations: 225.8 kB / 0.8008 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.5004, allocations: 67.56 kB / 0.8008 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.502, allocations: 0.7625 MB / 0.8016 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.502, allocations: 4 kB / 0.8016 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.502, allocations: 4 kB / 0.8016 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.502, allocations: 3.984 kB / 0.8016 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/0.5047, allocations: 1.494 MB / 0.803 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5047, allocations: 4.031 kB / 0.8031 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.5051, allocations: 71.88 kB / 0.8031 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000697/0.5058, allocations: 206.3 kB / 0.8033 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.612e-05/0.5058, allocations: 8 kB / 0.8033 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005555/0.5113, allocations: 5.274 MB / 0.8085 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.5114, allocations: 7.969 kB / 0.8085 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.5134, allocations: 1.113 MB / 0.8096 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.5137, allocations: 180.8 kB / 0.8097 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.543e-05/0.5138, allocations: 11.94 kB / 0.8098 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.5141, allocations: 27.95 kB / 0.8098 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.961e-05/0.5142, allocations: 35.91 kB / 0.8098 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.5142, allocations: 11.98 kB / 0.8098 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003855/0.5146, allocations: 314.9 kB / 0.8101 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5146, allocations: 0 / 0.8101 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007294/0.5154, allocations: 176 kB / 0.8103 GB, free: 5.633 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,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.0001724/0.5155, allocations: 107.8 kB / 0.8104 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001742/0.5173, allocations: 0.9729 MB / 0.8113 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5173, allocations: 0 / 0.8113 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.5183, allocations: 0.6733 MB / 0.812 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009303/0.5193, allocations: 186.9 kB / 0.8122 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.5215, allocations: 1.285 MB / 0.8134 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006579/0.5222, allocations: 0.9455 MB / 0.8144 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003506/0.5225, allocations: 121 kB / 0.8145 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.5226, allocations: 39.44 kB / 0.8145 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of SimCode: time 9.41e-07/0.5227, allocations: 0 / 0.8145 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of Templates: time 0.01851/0.5412, allocations: 9.038 MB / 0.8233 GB, free: 8.25 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)