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.00772/0.00772, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001167/0.001168, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002232/0.002232, allocations: 287.4 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9419/0.9419, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 99.84 kB / 0.6815 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3837, allocations: 86.97 MB / 0.7664 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006771/0.3905, allocations: 5.54 MB / 0.7718 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003987/0.3945, allocations: 2.642 MB / 0.7744 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003665/0.3949, allocations: 23.88 kB / 0.7744 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.3966, allocations: 0.6652 MB / 0.775 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009075/0.3975, allocations: 429.7 kB / 0.7755 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009185/0.3984, allocations: 414.5 kB / 0.7759 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000928/0.3994, allocations: 0.9552 MB / 0.7768 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006109/0.4, allocations: 474.4 kB / 0.7772 GB, free: 8.625 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004035/0.4004, allocations: 390.5 kB / 0.7776 GB, free: 8.242 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004302/0.4009, allocations: 402.5 kB / 0.778 GB, free: 7.848 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.617e-05/0.4009, allocations: 48 kB / 0.778 GB, free: 7.801 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005535/0.4015, allocations: 359.2 kB / 0.7784 GB, free: 7.449 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.4017, allocations: 247.3 kB / 0.7786 GB, free: 7.207 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003251/0.4021, allocations: 350.2 kB / 0.779 GB, free: 6.863 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009488/0.403, allocations: 0.9797 MB / 0.7799 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.403, allocations: 7.984 kB / 0.7799 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4031, allocations: 0 / 0.7799 GB, free: 5.875 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.4031, allocations: 0 / 0.7799 GB, free: 5.875 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.001376/0.4045, allocations: 0.9698 MB / 0.7809 GB, free: 4.855 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.4045, allocations: 8.031 kB / 0.7809 GB, free: 4.848 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.4058, allocations: 191.9 kB / 0.7811 GB, free: 4.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007113/0.4065, allocations: 0.5373 MB / 0.7816 GB, free: 4.086 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.4066, allocations: 37.31 kB / 0.7816 GB, free: 4.047 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.4067, allocations: 52.55 kB / 0.7817 GB, free: 3.996 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.4078, allocations: 0.8342 MB / 0.7825 GB, free: 3.086 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.4078, allocations: 4 kB / 0.7825 GB, free: 3.082 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.528e-05/0.4079, allocations: 24 kB / 0.7825 GB, free: 3.059 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001712/0.4081, allocations: 64.94 kB / 0.7826 GB, free: 2.996 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008566/0.4089, allocations: 0.5696 MB / 0.7831 GB, free: 2.422 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003919/0.4129, allocations: 4.577 MB / 0.7876 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/0.4133, allocations: 295.2 kB / 0.7879 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.4136, allocations: 229.3 kB / 0.7881 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.4137, allocations: 4.281 kB / 0.7881 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.4137, allocations: 42.78 kB / 0.7881 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.4137, allocations: 4 kB / 0.7881 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.005164/0.4189, allocations: 2.619 MB / 0.7907 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.4189, allocations: 59.34 kB / 0.7908 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004148/0.4193, allocations: 469.9 kB / 0.7912 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.4194, allocations: 33.7 kB / 0.7912 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.4196, allocations: 339.7 kB / 0.7916 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.521e-05/0.4197, allocations: 145.9 kB / 0.7917 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.4199, allocations: 102.2 kB / 0.7918 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.42, allocations: 366.8 kB / 0.7921 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.4203, allocations: 233 kB / 0.7924 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.4207, allocations: 407.3 kB / 0.7928 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007818/0.4215, allocations: 0.6855 MB / 0.7934 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.4215, allocations: 0 / 0.7934 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001525/0.4231, allocations: 0.9171 MB / 0.7943 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4231, allocations: 11.94 kB / 0.7943 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4231, allocations: 4 kB / 0.7943 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007639/0.4239, allocations: 227 kB / 0.7946 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/0.4244, allocations: 115.8 kB / 0.7947 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004655/0.429, allocations: 5.339 MB / 0.7999 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/0.4294, allocations: 27.97 kB / 0.7999 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.4295, allocations: 28.06 kB / 0.7999 GB, free: 60 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.0002569/0.4297, allocations: 225.6 kB / 0.8001 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.515e-05/0.4298, allocations: 59.28 kB / 0.8002 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.4312, allocations: 0.7742 MB / 0.801 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.4312, allocations: 4 kB / 0.801 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.4313, allocations: 4.141 kB / 0.801 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.4313, allocations: 3.984 kB / 0.801 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.4335, allocations: 1.501 MB / 0.8024 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.4335, allocations: 4 kB / 0.8024 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.4339, allocations: 71.88 kB / 0.8025 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006621/0.4346, allocations: 202.6 kB / 0.8027 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.4346, allocations: 8 kB / 0.8027 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004486/0.4391, allocations: 5.269 MB / 0.8079 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.4391, allocations: 8.031 kB / 0.8079 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.4408, allocations: 1.132 MB / 0.809 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.441, allocations: 168.4 kB / 0.8091 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/0.441, allocations: 19.92 kB / 0.8091 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/0.4413, allocations: 23.97 kB / 0.8092 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.4414, allocations: 31.95 kB / 0.8092 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.4415, allocations: 16.06 kB / 0.8092 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002987/0.4418, allocations: 314.9 kB / 0.8095 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4418, allocations: 0 / 0.8095 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005826/0.4424, allocations: 164 kB / 0.8097 GB, free: 5.473 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.0001317/0.4425, allocations: 119.2 kB / 0.8098 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.4439, allocations: 1.016 MB / 0.8108 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.444, allocations: 0 / 0.8108 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008789/0.4448, allocations: 0.6812 MB / 0.8114 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007862/0.4456, allocations: 181.7 kB / 0.8116 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.4474, allocations: 1.263 MB / 0.8129 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.4479, allocations: 0.9533 MB / 0.8138 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002778/0.4481, allocations: 113 kB / 0.8139 GB, free: 1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.413e-05/0.4482, allocations: 39.42 kB / 0.8139 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.4483, allocations: 0 / 0.8139 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of Templates: time 0.01372/0.462, allocations: 8.981 MB / 0.8227 GB, free: 8.113 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)