Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.001229/0.001229, allocations: 96.5 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 175.1 kB / 16.57 MB, free: 6.387 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.376/1.376, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6729/0.6729, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 8 kB / 493.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1807, allocations: 77.15 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005324/0.1861, allocations: 4.615 MB / 0.5614 GB, free: 6.953 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0039/0.19, allocations: 2.465 MB / 0.5638 GB, free: 4.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004025/0.1904, allocations: 23.81 kB / 0.5638 GB, free: 4.457 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.1907, allocations: 91.36 kB / 0.5639 GB, free: 4.367 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008281/0.1916, allocations: 331 kB / 0.5642 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008272/0.1924, allocations: 287.3 kB / 0.5645 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006821/0.1931, allocations: 0.5708 MB / 0.565 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.1943, allocations: 0.7514 MB / 0.5658 GB, free: 2.406 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.1947, allocations: 282.9 kB / 0.566 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004776/0.1952, allocations: 302.8 kB / 0.5663 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.168e-05/0.1952, allocations: 24 kB / 0.5663 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.1956, allocations: 147.8 kB / 0.5665 GB, free: 1.664 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.1958, allocations: 203.4 kB / 0.5667 GB, free: 1.465 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.196, allocations: 149.2 kB / 0.5668 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006606/0.1966, allocations: 0.6898 MB / 0.5675 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1967, allocations: 4 kB / 0.5675 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1967, allocations: 0 / 0.5675 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.1967, allocations: 0 / 0.5675 GB, free: 0.6172 MB / 430.1 MB 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.001356/0.198, allocations: 0.8468 MB / 0.5683 GB, free: 15.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1981, allocations: 12.02 kB / 0.5683 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.1993, allocations: 190.9 kB / 0.5685 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007048/0.2, allocations: 469.5 kB / 0.569 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.2001, allocations: 36.95 kB / 0.569 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.2002, allocations: 55.92 kB / 0.569 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.2013, allocations: 0.8197 MB / 0.5698 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.2013, allocations: 7.938 kB / 0.5699 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-05/0.2014, allocations: 24 kB / 0.5699 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001858/0.2016, allocations: 64.94 kB / 0.5699 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008206/0.2024, allocations: 0.5658 MB / 0.5705 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004165/0.2066, allocations: 4.593 MB / 0.575 GB, free: 8.438 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004563/0.2071, allocations: 299.2 kB / 0.5753 GB, free: 8.137 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.2071, allocations: 288 / 0.5753 GB, free: 8.137 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.2071, allocations: 42.8 kB / 0.5753 GB, free: 8.086 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.352e-06/0.2072, allocations: 0 / 0.5753 GB, free: 8.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.005351/0.2125, allocations: 2.635 MB / 0.5779 GB, free: 5.324 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.2126, allocations: 55.41 kB / 0.5779 GB, free: 5.258 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004899/0.2131, allocations: 454 kB / 0.5784 GB, free: 4.805 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.2131, allocations: 33.7 kB / 0.5784 GB, free: 4.766 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.2134, allocations: 343.6 kB / 0.5787 GB, free: 4.422 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.2135, allocations: 141.9 kB / 0.5789 GB, free: 4.281 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.2135, allocations: 15.94 kB / 0.5789 GB, free: 4.266 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2137, allocations: 358.8 kB / 0.5792 GB, free: 3.906 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.214, allocations: 237 kB / 0.5794 GB, free: 3.672 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004532/0.2145, allocations: 410.4 kB / 0.5798 GB, free: 3.199 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004222/0.2149, allocations: 285.7 kB / 0.5801 GB, free: 2.922 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.2149, allocations: 4 kB / 0.5801 GB, free: 2.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001586/0.2165, allocations: 0.9154 MB / 0.581 GB, free: 1.988 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.2166, allocations: 8 kB / 0.581 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.2166, allocations: 8 kB / 0.581 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007743/0.2174, allocations: 227 kB / 0.5812 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005/0.2179, allocations: 119.8 kB / 0.5813 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3203/0.5382, allocations: 4.997 MB / 0.5862 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007782/0.5391, allocations: 30 kB / 0.5863 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.277e-05/0.5392, allocations: 24.42 kB / 0.5863 GB, free: 28.96 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004932/0.5397, allocations: 227.2 kB / 0.5865 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.5398, allocations: 57.19 kB / 0.5865 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.5418, allocations: 0.7729 MB / 0.5873 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.5418, allocations: 5.125 kB / 0.5873 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.5419, allocations: 5.281 kB / 0.5873 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.5419, allocations: 1.922 kB / 0.5873 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/0.5449, allocations: 1.497 MB / 0.5888 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.5449, allocations: 1.438 kB / 0.5888 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.5453, allocations: 72.16 kB / 0.5888 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007398/0.5461, allocations: 208.1 kB / 0.589 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.5461, allocations: 8.828 kB / 0.5891 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005353/0.5515, allocations: 4.942 MB / 0.5939 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.5515, allocations: 6.625 kB / 0.5939 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/0.5537, allocations: 1.204 MB / 0.5951 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/0.5541, allocations: 172.1 kB / 0.5952 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.251e-05/0.5541, allocations: 14.03 kB / 0.5952 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.5545, allocations: 27.86 kB / 0.5953 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.5546, allocations: 38.19 kB / 0.5953 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.5547, allocations: 10.34 kB / 0.5953 GB, free: 23.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004703/0.5551, allocations: 308.3 kB / 0.5956 GB, free: 22.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5551, allocations: 0 / 0.5956 GB, free: 22.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000873/0.556, allocations: 166.1 kB / 0.5958 GB, free: 22.96 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001534/0.5562, allocations: 116.7 kB / 0.5959 GB, free: 22.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.5578, allocations: 1.007 MB / 0.5969 GB, free: 22.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.5578, allocations: 0.7188 kB / 0.5969 GB, free: 22.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.5588, allocations: 0.6885 MB / 0.5975 GB, free: 21.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008014/0.5596, allocations: 155.5 kB / 0.5977 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.5623, allocations: 1.492 MB / 0.5991 GB, free: 20.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007902/0.5631, allocations: 0.9638 MB / 0.6001 GB, free: 20.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000551/0.5637, allocations: 107.5 kB / 0.6002 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.5638, allocations: 37.98 kB / 0.6002 GB, free: 20.13 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5638, allocations: 4 kB / 0.6002 GB, free: 20.13 MB / 446.1 MB Notification: Performance of Templates: time 0.01846/0.5823, allocations: 8.125 MB / 0.6082 GB, free: 18.45 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)