Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001425/0.001426, allocations: 105.3 kB / 16.36 MB, free: 6.301 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.001678/0.001678, allocations: 192.5 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.862/1.862, allocations: 292.3 MB / 0.5496 GB, free: 17.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 70.25 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2244, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.3182/0.5427, allocations: 5.51 MB / 0.7902 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003598/0.5463, allocations: 2.663 MB / 0.7928 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004222/0.5468, allocations: 24.19 kB / 0.7928 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.5485, allocations: 0.6767 MB / 0.7935 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0009127/0.5494, allocations: 408.8 kB / 0.7939 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008419/0.5502, allocations: 412 kB / 0.7942 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008903/0.5511, allocations: 0.9592 MB / 0.7952 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000581/0.5517, allocations: 468.9 kB / 0.7956 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004714/0.5522, allocations: 375.3 kB / 0.796 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004963/0.5527, allocations: 397.3 kB / 0.7964 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.65e-05/0.5528, allocations: 53.88 kB / 0.7964 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005615/0.5534, allocations: 365.1 kB / 0.7968 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.5536, allocations: 242.5 kB / 0.797 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003066/0.5539, allocations: 349.6 kB / 0.7973 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009012/0.5548, allocations: 0.9764 MB / 0.7983 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5548, allocations: 0 / 0.7983 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5548, allocations: 0 / 0.7983 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.5548, allocations: 2.906 kB / 0.7983 GB, free: 44.54 MB / 0.6544 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.001342/0.5562, allocations: 0.9849 MB / 0.7992 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.5562, allocations: 12.72 kB / 0.7993 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.5577, allocations: 187.7 kB / 0.7994 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000668/0.5584, allocations: 0.5223 MB / 0.7999 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.5584, allocations: 41.02 kB / 0.8 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.5586, allocations: 56.59 kB / 0.8 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.5596, allocations: 0.8339 MB / 0.8009 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.5596, allocations: 7.266 kB / 0.8009 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.684e-05/0.5597, allocations: 23.3 kB / 0.8009 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001966/0.5599, allocations: 66.95 kB / 0.8009 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008246/0.5607, allocations: 0.5708 MB / 0.8015 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003567/0.5643, allocations: 4.566 MB / 0.806 GB, free: 38.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.5648, allocations: 297.9 kB / 0.8062 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.5651, allocations: 226.6 kB / 0.8065 GB, free: 38.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.5651, allocations: 6.984 kB / 0.8065 GB, free: 38.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.5651, allocations: 37.16 kB / 0.8065 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 1.793e-06/0.5651, allocations: 0 / 0.8065 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.005364/0.5705, allocations: 2.625 MB / 0.8091 GB, free: 37.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.5706, allocations: 56.94 kB / 0.8091 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004758/0.571, allocations: 464.8 kB / 0.8096 GB, free: 36.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.5711, allocations: 36.11 kB / 0.8096 GB, free: 36.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.5713, allocations: 341.8 kB / 0.8099 GB, free: 36.56 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.381e-05/0.5714, allocations: 145.6 kB / 0.8101 GB, free: 36.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.5715, allocations: 105.8 kB / 0.8102 GB, free: 36.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.465e-05/0.5716, allocations: 360.4 kB / 0.8105 GB, free: 36.06 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.572, allocations: 240.9 kB / 0.8107 GB, free: 35.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004281/0.5724, allocations: 416.1 kB / 0.8111 GB, free: 35.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007978/0.5732, allocations: 0.6738 MB / 0.8118 GB, free: 35.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.5732, allocations: 1.219 kB / 0.8118 GB, free: 35.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001596/0.5748, allocations: 0.923 MB / 0.8127 GB, free: 34.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.5749, allocations: 8.438 kB / 0.8127 GB, free: 34.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.5749, allocations: 5.406 kB / 0.8127 GB, free: 34.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007866/0.5757, allocations: 226.1 kB / 0.8129 GB, free: 34.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005235/0.5762, allocations: 115.5 kB / 0.813 GB, free: 34.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004062/0.5803, allocations: 5.333 MB / 0.8182 GB, free: 30.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004369/0.5807, allocations: 33.59 kB / 0.8183 GB, free: 30.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.5808, allocations: 28.02 kB / 0.8183 GB, free: 30.1 MB / 0.6544 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.0002598/0.5811, allocations: 221.7 kB / 0.8185 GB, free: 29.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.791e-05/0.5811, allocations: 60.53 kB / 0.8186 GB, free: 29.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.5826, allocations: 0.78 MB / 0.8193 GB, free: 29.56 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5826, allocations: 3.25 kB / 0.8193 GB, free: 29.56 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.5826, allocations: 3.188 kB / 0.8193 GB, free: 29.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.5826, allocations: 1.969 kB / 0.8193 GB, free: 29.56 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/0.5849, allocations: 1.504 MB / 0.8208 GB, free: 28.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.5849, allocations: 2.188 kB / 0.8208 GB, free: 28.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.5853, allocations: 67.36 kB / 0.8209 GB, free: 28.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006481/0.586, allocations: 212.3 kB / 0.8211 GB, free: 28.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.586, allocations: 9.766 kB / 0.8211 GB, free: 28.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00379/0.5898, allocations: 5.28 MB / 0.8262 GB, free: 24.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5898, allocations: 2.844 kB / 0.8262 GB, free: 24.06 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.5915, allocations: 1.136 MB / 0.8274 GB, free: 23.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.5917, allocations: 166.9 kB / 0.8275 GB, free: 23.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.072e-05/0.5918, allocations: 18.52 kB / 0.8275 GB, free: 23.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.5921, allocations: 27 kB / 0.8276 GB, free: 23.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.334e-05/0.5922, allocations: 35.86 kB / 0.8276 GB, free: 23.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.5922, allocations: 17.84 kB / 0.8276 GB, free: 23.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003248/0.5926, allocations: 316.2 kB / 0.8279 GB, free: 23.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5926, allocations: 0 / 0.8279 GB, free: 23.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006951/0.5933, allocations: 166.6 kB / 0.8281 GB, free: 23.14 MB / 0.6544 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.0001286/0.5934, allocations: 117.4 kB / 0.8282 GB, free: 23.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001419/0.5948, allocations: 1.011 MB / 0.8292 GB, free: 22.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.5948, allocations: 1.188 kB / 0.8292 GB, free: 22.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009443/0.5958, allocations: 0.6816 MB / 0.8298 GB, free: 22 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008706/0.5967, allocations: 185.9 kB / 0.83 GB, free: 21.95 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.5985, allocations: 1.308 MB / 0.8313 GB, free: 21.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.5989, allocations: 0.9536 MB / 0.8322 GB, free: 20.47 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.599, allocations: 45.31 kB / 0.8323 GB, free: 20.46 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.599, allocations: 0 / 0.8323 GB, free: 20.46 MB / 0.6544 GB Notification: Performance of Templates: time 0.01753/0.6166, allocations: 14.9 MB / 0.8468 GB, free: 16.27 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)