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: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007285/0.0007285, allocations: 92.86 kB / 15.7 MB, free: 472 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.0008387/0.0008388, allocations: 175.7 kB / 16.58 MB, free: 6.844 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.292/1.292, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6647/0.6647, allocations: 113.7 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003146, allocations: 9.5 kB / 493.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1586, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006209/0.1649, allocations: 4.818 MB / 0.5616 GB, free: 6.828 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004265/0.1692, allocations: 2.46 MB / 0.564 GB, free: 4.359 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005758/0.1698, allocations: 23.88 kB / 0.564 GB, free: 4.336 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.1702, allocations: 103.1 kB / 0.5641 GB, free: 4.234 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.1715, allocations: 330.2 kB / 0.5644 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.1726, allocations: 287.3 kB / 0.5647 GB, free: 3.629 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.174, allocations: 1.041 MB / 0.5657 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.1755, allocations: 0.7479 MB / 0.5665 GB, free: 1.801 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006706/0.1762, allocations: 310.7 kB / 0.5668 GB, free: 1.496 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007149/0.1769, allocations: 374.6 kB / 0.5671 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.1771, allocations: 24 kB / 0.5671 GB, free: 1.105 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006295/0.1777, allocations: 187.7 kB / 0.5673 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002841/0.178, allocations: 215.4 kB / 0.5675 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000256/0.1783, allocations: 145.4 kB / 0.5677 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000916/0.1792, allocations: 0.7208 MB / 0.5684 GB, free: 15.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1792, allocations: 0 / 0.5684 GB, free: 15.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1792, allocations: 4 kB / 0.5684 GB, free: 15.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.306e-05/0.1793, allocations: 4 kB / 0.5684 GB, free: 15.83 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.00169/0.181, allocations: 0.8528 MB / 0.5692 GB, free: 14.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.181, allocations: 12.02 kB / 0.5692 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001837/0.1812, allocations: 102.5 kB / 0.5693 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.1826, allocations: 198.9 kB / 0.5695 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007745/0.1833, allocations: 469.5 kB / 0.57 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.1834, allocations: 40.94 kB / 0.57 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.1836, allocations: 59.97 kB / 0.5701 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.1847, allocations: 0.8206 MB / 0.5709 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.1848, allocations: 3.984 kB / 0.5709 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.01e-05/0.1849, allocations: 27.98 kB / 0.5709 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001766/0.185, allocations: 64.95 kB / 0.5709 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008866/0.1859, allocations: 0.5657 MB / 0.5715 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004525/0.1905, allocations: 4.585 MB / 0.576 GB, free: 7.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.191, allocations: 307.2 kB / 0.5763 GB, free: 7.211 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.1913, allocations: 225.3 kB / 0.5765 GB, free: 6.988 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.1913, allocations: 8.234 kB / 0.5765 GB, free: 6.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.1914, allocations: 30.84 kB / 0.5765 GB, free: 6.941 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.993e-06/0.1914, allocations: 3.938 kB / 0.5765 GB, free: 6.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.005228/0.1966, allocations: 2.638 MB / 0.5791 GB, free: 4.172 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.1967, allocations: 55.41 kB / 0.5792 GB, free: 4.105 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004807/0.1972, allocations: 457.9 kB / 0.5796 GB, free: 3.648 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.1972, allocations: 29.7 kB / 0.5796 GB, free: 3.613 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.1975, allocations: 343.6 kB / 0.5799 GB, free: 3.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.1976, allocations: 145.9 kB / 0.5801 GB, free: 3.125 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.1976, allocations: 12 kB / 0.5801 GB, free: 3.113 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1978, allocations: 362.8 kB / 0.5804 GB, free: 2.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.1981, allocations: 241 kB / 0.5807 GB, free: 2.516 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/0.1986, allocations: 398.5 kB / 0.5811 GB, free: 2.051 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.199, allocations: 297.7 kB / 0.5813 GB, free: 1.762 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.199, allocations: 0 / 0.5813 GB, free: 1.762 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001556/0.2006, allocations: 0.9154 MB / 0.5822 GB, free: 0.832 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.2006, allocations: 8.656 kB / 0.5822 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.2007, allocations: 8 kB / 0.5822 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006951/0.2014, allocations: 226.3 kB / 0.5825 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.2018, allocations: 111.8 kB / 0.5826 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2862/0.4881, allocations: 4.922 MB / 0.5874 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005323/0.4887, allocations: 30.55 kB / 0.5874 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.4887, allocations: 24.94 kB / 0.5874 GB, free: 28.75 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.0003391/0.4891, allocations: 225 kB / 0.5876 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.392e-05/0.4892, allocations: 59.55 kB / 0.5877 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.4908, allocations: 0.7693 MB / 0.5885 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.4908, allocations: 7.922 kB / 0.5885 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4909, allocations: 3.625 kB / 0.5885 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.4909, allocations: 1.734 kB / 0.5885 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/0.4933, allocations: 1.492 MB / 0.5899 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.4934, allocations: 2.625 kB / 0.5899 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/0.4937, allocations: 71.09 kB / 0.59 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006434/0.4944, allocations: 213.8 kB / 0.5902 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.4944, allocations: 14.81 kB / 0.5902 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003818/0.4982, allocations: 4.867 MB / 0.595 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4983, allocations: 3.828 kB / 0.595 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.5, allocations: 1.12 MB / 0.5961 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.5002, allocations: 175.7 kB / 0.5962 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.5003, allocations: 13.45 kB / 0.5962 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.5006, allocations: 24.66 kB / 0.5963 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.797e-05/0.5007, allocations: 38.5 kB / 0.5963 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.5008, allocations: 10.03 kB / 0.5963 GB, free: 22.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000387/0.5012, allocations: 307.8 kB / 0.5966 GB, free: 22.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5012, allocations: 0.6562 kB / 0.5966 GB, free: 22.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007462/0.5019, allocations: 166.5 kB / 0.5968 GB, free: 22.77 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.001883/0.5038, allocations: 1.687 MB / 0.5984 GB, free: 21.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.5054, allocations: 1.01 MB / 0.5994 GB, free: 21.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5054, allocations: 1.219 kB / 0.5994 GB, free: 21.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008798/0.5063, allocations: 0.6804 MB / 0.6001 GB, free: 20.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00084/0.5072, allocations: 172.5 kB / 0.6002 GB, free: 20.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005884/0.5131, allocations: 3.812 MB / 0.604 GB, free: 18.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.5137, allocations: 0.9469 MB / 0.6049 GB, free: 17.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000471/0.5142, allocations: 115.3 kB / 0.605 GB, free: 17.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.5144, allocations: 214.3 kB / 0.6052 GB, free: 17.58 MB / 446.1 MB Notification: Performance of SimCode: time 6.52e-07/0.5144, allocations: 0.625 kB / 0.6052 GB, free: 17.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.5438, allocations: 13.19 MB / 0.6181 GB, free: 13.15 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/0.544, allocations: 210.5 kB / 0.6183 GB, free: 12.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/2.454, allocations: 4.391 kB / 0.6183 GB, free: 12.91 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) Environment - environmentSimulation: