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.001305/0.001305, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.427/1.427, allocations: 222.9 MB / 239 MB, free: 4.73 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.001482/0.001482, allocations: 204.3 kB / 289.3 MB, free: 2.457 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5257/0.5257, allocations: 91.89 MB / 431.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 83.88 kB / 0.5014 GB, free: 8.055 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.4352, allocations: 71.25 MB / 0.571 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.005945/0.4412, allocations: 7.205 MB / 0.578 GB, free: 32.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004127/0.4453, allocations: 2.307 MB / 0.5803 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009155/0.4463, allocations: 11.94 kB / 0.5803 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005935/0.4469, allocations: 203.7 kB / 0.5805 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.449, allocations: 0.8565 MB / 0.5813 GB, free: 30.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.4501, allocations: 0.5342 MB / 0.5818 GB, free: 29.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.452, allocations: 1.849 MB / 0.5836 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003919/0.4524, allocations: 255 kB / 0.5839 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009901/0.4534, allocations: 0.7392 MB / 0.5846 GB, free: 28.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.4553, allocations: 1.002 MB / 0.5856 GB, free: 28.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001055/0.4564, allocations: 160.4 kB / 0.5857 GB, free: 28.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001991/0.4584, allocations: 327.8 kB / 0.586 GB, free: 28.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007942/0.4592, allocations: 400.9 kB / 0.5864 GB, free: 27.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002021/0.4613, allocations: 0.768 MB / 0.5872 GB, free: 27.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00428/0.4656, allocations: 1.836 MB / 0.589 GB, free: 26.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.4656, allocations: 13 kB / 0.589 GB, free: 26.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4656, allocations: 0 / 0.589 GB, free: 26.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001063/0.4658, allocations: 0 / 0.589 GB, free: 26.47 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.01644/0.4822, allocations: 3.321 MB / 0.5922 GB, free: 25.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.4823, allocations: 9.969 kB / 0.5922 GB, free: 25.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003359/0.4856, allocations: 0.5189 MB / 0.5927 GB, free: 25.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/0.4877, allocations: 0.9828 MB / 0.5937 GB, free: 24.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002902/0.488, allocations: 236 kB / 0.5939 GB, free: 24.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003082/0.4884, allocations: 86.72 kB / 0.594 GB, free: 24.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.4907, allocations: 0.9797 MB / 0.595 GB, free: 23.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.4908, allocations: 1.219 kB / 0.595 GB, free: 23.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-05/0.4909, allocations: 29.72 kB / 0.595 GB, free: 23.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.4909, allocations: 16.53 kB / 0.595 GB, free: 23.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.4934, allocations: 1.09 MB / 0.5961 GB, free: 23.42 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.007281/0.5007, allocations: 3.745 MB / 0.5997 GB, free: 21.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003142/0.5038, allocations: 1.673 MB / 0.6014 GB, free: 20.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.5054, allocations: 0.7215 MB / 0.6021 GB, free: 19.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.5056, allocations: 18.36 kB / 0.6021 GB, free: 19.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.5056, allocations: 48 kB / 0.6021 GB, free: 19.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 2.435e-06/0.5056, allocations: 0 / 0.6021 GB, free: 19.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02355/0.5292, allocations: 5.593 MB / 0.6076 GB, free: 18.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.5293, allocations: 61.72 kB / 0.6076 GB, free: 18.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003121/0.5324, allocations: 1.278 MB / 0.6089 GB, free: 18.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003889/0.5328, allocations: 49.36 kB / 0.6089 GB, free: 18.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006254/0.5335, allocations: 475.9 kB / 0.6094 GB, free: 17.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006883/0.5342, allocations: 394.8 kB / 0.6098 GB, free: 17.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001599/0.5358, allocations: 382.3 kB / 0.6101 GB, free: 17.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.023e-05/0.5359, allocations: 301.7 kB / 0.6104 GB, free: 16.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00239/0.5383, allocations: 0.9459 MB / 0.6113 GB, free: 16.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002619/0.5409, allocations: 1.114 MB / 0.6124 GB, free: 16.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004201/0.5451, allocations: 1.929 MB / 0.6143 GB, free: 15.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.5451, allocations: 4.938 kB / 0.6143 GB, free: 15.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.00745/0.5526, allocations: 3.036 MB / 0.6173 GB, free: 13.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.5526, allocations: 5.5 kB / 0.6173 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.5527, allocations: 2.125 kB / 0.6173 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009094/0.5618, allocations: 2.291 MB / 0.6195 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/0.5637, allocations: 359.5 kB / 0.6199 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004921/0.5686, allocations: 2.278 MB / 0.6221 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002869/0.5715, allocations: 214.3 kB / 0.6223 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003565/0.5719, allocations: 71.98 kB / 0.6224 GB, free: 9.625 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.0007333/0.5726, allocations: 265.5 kB / 0.6226 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000499/0.5731, allocations: 138.2 kB / 0.6228 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009948/0.5831, allocations: 3.349 MB / 0.626 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.5831, allocations: 8 kB / 0.626 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.5832, allocations: 0 / 0.626 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.579e-05/0.5832, allocations: 3.984 kB / 0.626 GB, free: 5.84 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.01281/0.596, allocations: 5.039 MB / 0.631 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.596, allocations: 0 / 0.631 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007758/0.5968, allocations: 131.9 kB / 0.6311 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00518/0.602, allocations: 1.437 MB / 0.6325 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.6022, allocations: 27.98 kB / 0.6325 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01942/0.6216, allocations: 7.845 MB / 0.6402 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6217, allocations: 0 / 0.6402 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/0.6345, allocations: 4.229 MB / 0.6443 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008165/0.6354, allocations: 255.1 kB / 0.6446 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005506/0.636, allocations: 23.94 kB / 0.6446 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/0.6377, allocations: 91.89 kB / 0.6447 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006796/0.6384, allocations: 180.9 kB / 0.6448 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.6385, allocations: 35.92 kB / 0.6449 GB, free: 2.234 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001632/0.6402, allocations: 0.8434 MB / 0.6457 GB, free: 1.387 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6402, allocations: 0 / 0.6457 GB, free: 1.387 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002191/0.6424, allocations: 479.6 kB / 0.6462 GB, free: 0.918 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.0004149/0.6428, allocations: 156.6 kB / 0.6463 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00844/0.6513, allocations: 2.484 MB / 0.6487 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.6513, allocations: 0 / 0.6487 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004604/0.6559, allocations: 1.36 MB / 0.6501 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.6581, allocations: 104.7 kB / 0.6502 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006087/0.6642, allocations: 3.099 MB / 0.6532 GB, free: 9.676 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007751/0.665, allocations: 1.112 MB / 0.6543 GB, free: 8.531 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007553/0.6658, allocations: 124.6 kB / 0.6544 GB, free: 8.406 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004776/0.6662, allocations: 87.42 kB / 0.6545 GB, free: 8.32 MB / 462.1 MB Notification: Performance of SimCode: time 7.72e-07/0.6663, allocations: 0 / 0.6545 GB, free: 8.32 MB / 462.1 MB Notification: Performance of Templates: time 0.04269/0.709, allocations: 23.85 MB / 0.6778 GB, free: 0.5 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)