Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001314, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.47/1.47, allocations: 222.9 MB / 238.8 MB, free: 4.75 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001453, allocations: 188.5 kB / 289.1 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5571/0.5571, allocations: 91.89 MB / 431.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 72.09 kB / 0.5012 GB, free: 8.172 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4634/0.4654, allocations: 71.27 MB / 0.5708 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.007344/0.4728, allocations: 7.208 MB / 0.5778 GB, free: 32.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004806/0.4776, allocations: 2.315 MB / 0.5801 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008946/0.4786, allocations: 11.06 kB / 0.5801 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000646/0.4793, allocations: 200.7 kB / 0.5803 GB, free: 30.58 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002123/0.4814, allocations: 0.8589 MB / 0.5811 GB, free: 30.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.4825, allocations: 0.5601 MB / 0.5817 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0016/0.4842, allocations: 1.751 MB / 0.5834 GB, free: 28.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.4845, allocations: 236.9 kB / 0.5836 GB, free: 28.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006738/0.4852, allocations: 0.6658 MB / 0.5843 GB, free: 28.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007536/0.4859, allocations: 0.9435 MB / 0.5852 GB, free: 28.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.4861, allocations: 91.59 kB / 0.5853 GB, free: 28.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005801/0.4867, allocations: 257.5 kB / 0.5855 GB, free: 28.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.487, allocations: 335.6 kB / 0.5858 GB, free: 27.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005473/0.4875, allocations: 0.697 MB / 0.5865 GB, free: 27.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.489, allocations: 1.794 MB / 0.5883 GB, free: 26.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.489, allocations: 0 / 0.5883 GB, free: 26.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4891, allocations: 5.156 kB / 0.5883 GB, free: 26.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.4891, allocations: 0 / 0.5883 GB, free: 26.68 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01243/0.5015, allocations: 3.32 MB / 0.5915 GB, free: 25.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5016, allocations: 10.97 kB / 0.5915 GB, free: 25.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003155/0.5047, allocations: 0.5139 MB / 0.592 GB, free: 25.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.5064, allocations: 0.9831 MB / 0.593 GB, free: 24.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002466/0.5067, allocations: 239.8 kB / 0.5932 GB, free: 24.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.5068, allocations: 86.59 kB / 0.5933 GB, free: 24.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.509, allocations: 0.9857 MB / 0.5943 GB, free: 23.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.509, allocations: 0 / 0.5943 GB, free: 23.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.033e-05/0.5091, allocations: 27.03 kB / 0.5943 GB, free: 23.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.5091, allocations: 19.84 kB / 0.5943 GB, free: 23.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.5116, allocations: 1.086 MB / 0.5954 GB, free: 23.63 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006754/0.5184, allocations: 3.753 MB / 0.599 GB, free: 21.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/0.5215, allocations: 1.665 MB / 0.6007 GB, free: 20.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.523, allocations: 0.7138 MB / 0.6014 GB, free: 20.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.5231, allocations: 25.95 kB / 0.6014 GB, free: 20.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.5232, allocations: 44.8 kB / 0.6014 GB, free: 20.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 4.198e-06/0.5232, allocations: 0 / 0.6014 GB, free: 20.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02341/0.5466, allocations: 5.592 MB / 0.6069 GB, free: 18.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.5467, allocations: 65.81 kB / 0.607 GB, free: 18.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003225/0.5499, allocations: 1.273 MB / 0.6082 GB, free: 18.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004573/0.5504, allocations: 51.52 kB / 0.6082 GB, free: 18.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000555/0.551, allocations: 480.8 kB / 0.6087 GB, free: 17.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007522/0.5517, allocations: 388.9 kB / 0.6091 GB, free: 17.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00139/0.5531, allocations: 386.7 kB / 0.6094 GB, free: 17.42 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.936e-05/0.5532, allocations: 305.7 kB / 0.6097 GB, free: 17.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/0.5554, allocations: 0.9397 MB / 0.6107 GB, free: 16.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002549/0.558, allocations: 1.117 MB / 0.6117 GB, free: 16.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004722/0.5627, allocations: 1.928 MB / 0.6136 GB, free: 15.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.91e-05/0.5627, allocations: 2.125 kB / 0.6136 GB, free: 15.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.00798/0.5707, allocations: 3.036 MB / 0.6166 GB, free: 14.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.5708, allocations: 5.469 kB / 0.6166 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.5708, allocations: 2.281 kB / 0.6166 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009509/0.5803, allocations: 2.286 MB / 0.6188 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/0.5823, allocations: 355.5 kB / 0.6192 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005047/0.5873, allocations: 2.277 MB / 0.6214 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002933/0.5903, allocations: 218.3 kB / 0.6216 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003847/0.5907, allocations: 63.98 kB / 0.6217 GB, free: 10.22 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (204): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0008192/0.5915, allocations: 265.5 kB / 0.6219 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005712/0.5921, allocations: 138.2 kB / 0.622 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/0.6021, allocations: 3.346 MB / 0.6253 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.6022, allocations: 12 kB / 0.6253 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.6022, allocations: 4 kB / 0.6253 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.042e-05/0.6022, allocations: 3.984 kB / 0.6253 GB, free: 6.43 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/0.6151, allocations: 5.035 MB / 0.6303 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.6152, allocations: 0 / 0.6303 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000856/0.616, allocations: 131.8 kB / 0.6304 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005291/0.6214, allocations: 1.441 MB / 0.6318 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002268/0.6216, allocations: 20 kB / 0.6318 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01948/0.6411, allocations: 7.151 MB / 0.6388 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6412, allocations: 0 / 0.6388 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0143/0.6555, allocations: 4.23 MB / 0.6429 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009343/0.6565, allocations: 251.1 kB / 0.6432 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006341/0.6572, allocations: 20 kB / 0.6432 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/0.6589, allocations: 99.94 kB / 0.6433 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007049/0.6597, allocations: 188.6 kB / 0.6435 GB, free: 3.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.6598, allocations: 24 kB / 0.6435 GB, free: 3.535 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001606/0.6614, allocations: 0.8434 MB / 0.6443 GB, free: 2.688 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6614, allocations: 4 kB / 0.6443 GB, free: 2.684 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002089/0.6635, allocations: 479.6 kB / 0.6448 GB, free: 2.215 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq) * 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 (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003999/0.6639, allocations: 148.2 kB / 0.6449 GB, free: 2.062 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007787/0.6717, allocations: 2.447 MB / 0.6473 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.6718, allocations: 0 / 0.6473 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004423/0.6762, allocations: 1.344 MB / 0.6486 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.6781, allocations: 100.7 kB / 0.6487 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006075/0.6842, allocations: 3.086 MB / 0.6517 GB, free: 11.05 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007963/0.685, allocations: 1.117 MB / 0.6528 GB, free: 9.898 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007363/0.6857, allocations: 124.7 kB / 0.6529 GB, free: 9.773 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004886/0.6862, allocations: 79.42 kB / 0.653 GB, free: 9.695 MB / 462.1 MB Notification: Performance of SimCode: time 1.533e-06/0.6863, allocations: 0 / 0.653 GB, free: 9.695 MB / 462.1 MB Notification: Performance of Templates: time 0.04027/0.7265, allocations: 22.32 MB / 0.6748 GB, free: 3.406 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)