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.0007335/0.0007335, allocations: 98.97 kB / 16.02 MB, free: 80 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.00093/0.00093, allocations: 180.5 kB / 16.92 MB, free: 6.754 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.418/1.418, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6959/0.6959, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 11.98 kB / 495.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1784, allocations: 77.54 MB / 0.56 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006075/0.1846, allocations: 5.061 MB / 0.5649 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00402/0.1886, allocations: 2.596 MB / 0.5675 GB, free: 1.332 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002816/0.1889, allocations: 19.81 kB / 0.5675 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.1892, allocations: 99.19 kB / 0.5676 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008901/0.1901, allocations: 382.1 kB / 0.5679 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008782/0.191, allocations: 363.3 kB / 0.5683 GB, free: 496 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.1923, allocations: 1.252 MB / 0.5695 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.1935, allocations: 0.7796 MB / 0.5703 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004361/0.194, allocations: 310.5 kB / 0.5706 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000521/0.1945, allocations: 378.5 kB / 0.5709 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.1946, allocations: 24 kB / 0.5709 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007202/0.1953, allocations: 439 kB / 0.5714 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.1956, allocations: 223.3 kB / 0.5716 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003027/0.1959, allocations: 340 kB / 0.5719 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009473/0.1968, allocations: 0.9536 MB / 0.5728 GB, free: 11.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1968, allocations: 3.938 kB / 0.5728 GB, free: 11.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1969, allocations: 0 / 0.5728 GB, free: 11.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.1969, allocations: 0 / 0.5728 GB, free: 11.77 MB / 446.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.001384/0.1983, allocations: 0.8414 MB / 0.5737 GB, free: 10.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1983, allocations: 8.031 kB / 0.5737 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.1997, allocations: 203.8 kB / 0.5739 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006579/0.2003, allocations: 486.4 kB / 0.5743 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.2004, allocations: 37.38 kB / 0.5744 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.2005, allocations: 56.55 kB / 0.5744 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.2017, allocations: 0.8357 MB / 0.5752 GB, free: 9.148 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.2018, allocations: 0 / 0.5752 GB, free: 9.148 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/0.2018, allocations: 20 kB / 0.5752 GB, free: 9.129 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001944/0.202, allocations: 72.94 kB / 0.5753 GB, free: 9.059 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008636/0.2029, allocations: 0.5774 MB / 0.5759 GB, free: 8.477 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00439/0.2073, allocations: 4.593 MB / 0.5804 GB, free: 3.535 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/0.2078, allocations: 302.6 kB / 0.5807 GB, free: 3.234 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.2081, allocations: 225.3 kB / 0.5809 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.2082, allocations: 4.266 kB / 0.5809 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.2082, allocations: 42.78 kB / 0.5809 GB, free: 2.957 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.274e-06/0.2082, allocations: 4 kB / 0.5809 GB, free: 2.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.005589/0.2138, allocations: 2.635 MB / 0.5835 GB, free: 196 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.2139, allocations: 55.41 kB / 0.5835 GB, free: 128 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.342/0.5559, allocations: 454.3 kB / 0.584 GB, free: 31.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.5561, allocations: 32.08 kB / 0.584 GB, free: 31.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.5564, allocations: 339.1 kB / 0.5843 GB, free: 31.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.5566, allocations: 145.5 kB / 0.5845 GB, free: 31.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.09e-05/0.5567, allocations: 51.05 kB / 0.5845 GB, free: 31.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.5568, allocations: 361.5 kB / 0.5849 GB, free: 31.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/0.5572, allocations: 236.6 kB / 0.5851 GB, free: 31.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007333/0.558, allocations: 409.3 kB / 0.5855 GB, free: 31.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.5591, allocations: 0.6773 MB / 0.5861 GB, free: 30.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.5591, allocations: 1.625 kB / 0.5861 GB, free: 30.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002052/0.5612, allocations: 0.9233 MB / 0.587 GB, free: 30.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.5612, allocations: 8.031 kB / 0.587 GB, free: 30.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.5613, allocations: 5.391 kB / 0.5871 GB, free: 30.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009155/0.5622, allocations: 222.9 kB / 0.5873 GB, free: 30.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005719/0.5628, allocations: 116.1 kB / 0.5874 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00489/0.5677, allocations: 4.935 MB / 0.5922 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005726/0.5683, allocations: 39.19 kB / 0.5922 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/0.5683, allocations: 22.56 kB / 0.5923 GB, free: 26 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 (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.0003303/0.5687, allocations: 221.8 kB / 0.5925 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.559e-05/0.5688, allocations: 59.34 kB / 0.5925 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/0.5705, allocations: 0.7722 MB / 0.5933 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.5706, allocations: 4.203 kB / 0.5933 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.5706, allocations: 2.406 kB / 0.5933 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.5706, allocations: 4 kB / 0.5933 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/0.5734, allocations: 1.496 MB / 0.5947 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.5734, allocations: 1.562 kB / 0.5948 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.5738, allocations: 72.64 kB / 0.5948 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007501/0.5746, allocations: 212.7 kB / 0.595 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.5746, allocations: 11.84 kB / 0.595 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004198/0.5789, allocations: 4.878 MB / 0.5998 GB, free: 20.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.5789, allocations: 1.562 kB / 0.5998 GB, free: 20.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.5809, allocations: 1.125 MB / 0.6009 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002753/0.5812, allocations: 172.3 kB / 0.6011 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.544e-05/0.5813, allocations: 14 kB / 0.6011 GB, free: 19.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.5816, allocations: 31.23 kB / 0.6011 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.5817, allocations: 41.97 kB / 0.6011 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.5818, allocations: 15.05 kB / 0.6012 GB, free: 19.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004107/0.5822, allocations: 308 kB / 0.6015 GB, free: 19.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5822, allocations: 0 / 0.6015 GB, free: 19.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008232/0.583, allocations: 170.4 kB / 0.6016 GB, free: 19.41 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 (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.0001564/0.5832, allocations: 114.4 kB / 0.6017 GB, free: 19.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.5849, allocations: 1.012 MB / 0.6027 GB, free: 18.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.585, allocations: 1.469 kB / 0.6027 GB, free: 18.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.586, allocations: 0.6776 MB / 0.6034 GB, free: 18.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.5871, allocations: 166.2 kB / 0.6035 GB, free: 18.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.5901, allocations: 1.546 MB / 0.605 GB, free: 17.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009077/0.591, allocations: 0.951 MB / 0.606 GB, free: 16.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005526/0.5915, allocations: 111.9 kB / 0.6061 GB, free: 16.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.5917, allocations: 41.66 kB / 0.6061 GB, free: 16.49 MB / 446.1 MB Notification: Performance of SimCode: time 1.743e-06/0.5917, allocations: 0 / 0.6061 GB, free: 16.49 MB / 446.1 MB Notification: Performance of Templates: time 0.02252/0.6142, allocations: 8.394 MB / 0.6143 GB, free: 14.07 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)