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.004146/0.004146, allocations: 101.8 kB / 15.73 MB, free: 6.047 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.00101/0.00101, allocations: 182.7 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 283.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9467/0.9467, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 91.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1587, allocations: 86.97 MB / 0.7664 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007011/0.1657, allocations: 5.537 MB / 0.7718 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004185/0.1699, allocations: 2.634 MB / 0.7744 GB, free: 248 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000452/0.1704, allocations: 27.88 kB / 0.7744 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.3399/0.5103, allocations: 0.6682 MB / 0.775 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.5116, allocations: 431.5 kB / 0.7755 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.5128, allocations: 411.8 kB / 0.7758 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001068/0.5138, allocations: 0.9609 MB / 0.7768 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006389/0.5145, allocations: 468.5 kB / 0.7772 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000464/0.515, allocations: 375.8 kB / 0.7776 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004817/0.5155, allocations: 411.5 kB / 0.778 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.046e-05/0.5156, allocations: 48.16 kB / 0.778 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006628/0.5162, allocations: 359.6 kB / 0.7784 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.5165, allocations: 247.3 kB / 0.7786 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.5168, allocations: 347.5 kB / 0.7789 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009197/0.5177, allocations: 0.9773 MB / 0.7799 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5177, allocations: 0 / 0.7799 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5177, allocations: 1.031 kB / 0.7799 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.5178, allocations: 0 / 0.7799 GB, free: 8.953 MB / 0.5606 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.001371/0.5191, allocations: 0.9837 MB / 0.7809 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.5192, allocations: 8.719 kB / 0.7809 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.5205, allocations: 193 kB / 0.781 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006567/0.5212, allocations: 0.5207 MB / 0.7816 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.5212, allocations: 39.52 kB / 0.7816 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.5214, allocations: 61.09 kB / 0.7816 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009849/0.5224, allocations: 0.823 MB / 0.7825 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.5224, allocations: 6.219 kB / 0.7825 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-05/0.5225, allocations: 25.97 kB / 0.7825 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001876/0.5226, allocations: 69.19 kB / 0.7825 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008345/0.5235, allocations: 0.568 MB / 0.7831 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003521/0.527, allocations: 4.574 MB / 0.7876 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.5275, allocations: 299.2 kB / 0.7879 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.5277, allocations: 227.5 kB / 0.7881 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.5278, allocations: 3.031 kB / 0.7881 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.5278, allocations: 38.16 kB / 0.7881 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.5278, allocations: 0 / 0.7881 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.005081/0.5329, allocations: 2.633 MB / 0.7907 GB, free: 17.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.5329, allocations: 59.36 kB / 0.7907 GB, free: 17.76 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004567/0.5334, allocations: 463.2 kB / 0.7912 GB, free: 17.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.5334, allocations: 29.7 kB / 0.7912 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.5336, allocations: 346.8 kB / 0.7915 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.984e-05/0.5337, allocations: 141 kB / 0.7917 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.5339, allocations: 107.4 kB / 0.7918 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.534, allocations: 367.7 kB / 0.7921 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/0.5343, allocations: 238.7 kB / 0.7924 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.5347, allocations: 408.5 kB / 0.7927 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006965/0.5354, allocations: 0.6792 MB / 0.7934 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5354, allocations: 2.938 kB / 0.7934 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001479/0.5369, allocations: 0.9142 MB / 0.7943 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.5369, allocations: 9.875 kB / 0.7943 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.5369, allocations: 4.75 kB / 0.7943 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007434/0.5377, allocations: 234.5 kB / 0.7945 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/0.5382, allocations: 118.3 kB / 0.7947 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004698/0.5429, allocations: 5.335 MB / 0.7999 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004383/0.5433, allocations: 31.2 kB / 0.7999 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/0.5434, allocations: 22.25 kB / 0.7999 GB, free: 10.77 MB / 0.5762 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.0002946/0.5437, allocations: 222.7 kB / 0.8001 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.5438, allocations: 68.67 kB / 0.8002 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.5453, allocations: 0.7578 MB / 0.8009 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.5454, allocations: 7.938 kB / 0.8009 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5454, allocations: 3.109 kB / 0.8009 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.5454, allocations: 2.875 kB / 0.8009 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.5479, allocations: 1.505 MB / 0.8024 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.5479, allocations: 2.25 kB / 0.8024 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.5483, allocations: 71.69 kB / 0.8025 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006936/0.549, allocations: 206.8 kB / 0.8027 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.549, allocations: 13.11 kB / 0.8027 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004933/0.554, allocations: 5.27 MB / 0.8078 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.554, allocations: 2.938 kB / 0.8078 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.5558, allocations: 1.123 MB / 0.8089 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.556, allocations: 171.6 kB / 0.8091 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.126e-05/0.5561, allocations: 18.47 kB / 0.8091 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.5565, allocations: 27.72 kB / 0.8091 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.575e-05/0.5566, allocations: 39.73 kB / 0.8092 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.5566, allocations: 11.34 kB / 0.8092 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000386/0.557, allocations: 314.8 kB / 0.8095 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.557, allocations: 0 / 0.8095 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007272/0.5577, allocations: 167.1 kB / 0.8097 GB, free: 3.844 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.0001512/0.5579, allocations: 117.7 kB / 0.8098 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001678/0.5596, allocations: 1.02 MB / 0.8108 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5596, allocations: 4.125 kB / 0.8108 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009593/0.5606, allocations: 0.6826 MB / 0.8114 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009357/0.5615, allocations: 188.2 kB / 0.8116 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.5637, allocations: 1.256 MB / 0.8128 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006041/0.5643, allocations: 0.9523 MB / 0.8138 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003917/0.5647, allocations: 116.8 kB / 0.8139 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.5648, allocations: 37.72 kB / 0.8139 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.5648, allocations: 0 / 0.8139 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of Templates: time 0.0174/0.5822, allocations: 8.992 MB / 0.8227 GB, free: 14.38 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)