Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_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.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.468/1.468, allocations: 222.9 MB / 238.9 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.001571/0.001571, allocations: 188.5 kB / 289.1 MB, free: 2.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5575/0.5575, allocations: 91.89 MB / 431.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00307/0.00307, allocations: 79.88 kB / 0.5012 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5168/0.5199, allocations: 71.26 MB / 0.5708 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.007434/0.5274, allocations: 8.498 MB / 0.5791 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006177/0.5337, allocations: 2.638 MB / 0.5817 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.5351, allocations: 12.25 kB / 0.5817 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000871/0.536, allocations: 238.7 kB / 0.5819 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002949/0.539, allocations: 1.028 MB / 0.5829 GB, free: 28.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.5404, allocations: 0.6503 MB / 0.5835 GB, free: 28.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002501/0.5429, allocations: 2.246 MB / 0.5857 GB, free: 27.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000472/0.5434, allocations: 286.7 kB / 0.586 GB, free: 27.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.5446, allocations: 0.8584 MB / 0.5868 GB, free: 26.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.546, allocations: 1.231 MB / 0.588 GB, free: 26.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002796/0.5463, allocations: 121.1 kB / 0.5882 GB, free: 26.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008536/0.5471, allocations: 280.2 kB / 0.5884 GB, free: 26.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003185/0.5475, allocations: 433.7 kB / 0.5888 GB, free: 26.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007554/0.5482, allocations: 0.8772 MB / 0.5897 GB, free: 25.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001976/0.5502, allocations: 2.239 MB / 0.5919 GB, free: 24.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.5502, allocations: 0 / 0.5919 GB, free: 24.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5502, allocations: 0 / 0.5919 GB, free: 24.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.632e-05/0.5503, allocations: 0 / 0.5919 GB, free: 24.62 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.01784/0.5681, allocations: 4.096 MB / 0.5959 GB, free: 23.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.879e-05/0.5682, allocations: 10.22 kB / 0.5959 GB, free: 23.06 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003834/0.572, allocations: 0.5805 MB / 0.5965 GB, free: 22.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002721/0.5748, allocations: 1.216 MB / 0.5977 GB, free: 22.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002854/0.5751, allocations: 265.1 kB / 0.5979 GB, free: 21.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/0.5753, allocations: 119.4 kB / 0.598 GB, free: 21.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/0.5779, allocations: 1.087 MB / 0.5991 GB, free: 21.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.5779, allocations: 4 kB / 0.5991 GB, free: 21.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.578, allocations: 31.94 kB / 0.5991 GB, free: 21.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/0.5781, allocations: 20.44 kB / 0.5991 GB, free: 21.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003176/0.5812, allocations: 1.184 MB / 0.6003 GB, free: 21.02 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.01135/0.5926, allocations: 4.618 MB / 0.6048 GB, free: 18.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003579/0.5962, allocations: 2.147 MB / 0.6069 GB, free: 16.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.5979, allocations: 0.794 MB / 0.6077 GB, free: 16.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.598, allocations: 29.83 kB / 0.6077 GB, free: 16.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.5981, allocations: 43.66 kB / 0.6077 GB, free: 16.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 2.826e-06/0.5981, allocations: 1.344 kB / 0.6077 GB, free: 16.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02806/0.6261, allocations: 6.692 MB / 0.6143 GB, free: 14.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.6262, allocations: 69.16 kB / 0.6143 GB, free: 14.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003142/0.6294, allocations: 1.654 MB / 0.616 GB, free: 13.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005762/0.63, allocations: 59.64 kB / 0.616 GB, free: 13.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004229/0.6304, allocations: 0.5512 MB / 0.6166 GB, free: 13.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005237/0.6309, allocations: 0.4927 MB / 0.617 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000943/0.6319, allocations: 0.5101 MB / 0.6175 GB, free: 12.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.789e-05/0.632, allocations: 306.1 kB / 0.6178 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002472/0.6344, allocations: 1.148 MB / 0.6189 GB, free: 11.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002763/0.6372, allocations: 1.361 MB / 0.6203 GB, free: 10.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004541/0.6418, allocations: 2.346 MB / 0.6226 GB, free: 9.195 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.6418, allocations: 0 / 0.6226 GB, free: 9.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008688/0.6505, allocations: 4.078 MB / 0.6265 GB, free: 5.078 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.187e-05/0.6506, allocations: 4 kB / 0.6266 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.6506, allocations: 4 kB / 0.6266 GB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009903/0.6605, allocations: 2.827 MB / 0.6293 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/0.6632, allocations: 475.4 kB / 0.6298 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005319/0.6685, allocations: 2.528 MB / 0.6322 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003577/0.6721, allocations: 237.9 kB / 0.6325 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002808/0.6724, allocations: 91.97 kB / 0.6326 GB, free: 14.89 MB / 446.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 (281): * Single equations (assignments): 280 * 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 {(30,38)} Notification: Performance of prepare postOptimizeDAE: time 0.0007615/0.6732, allocations: 317.3 kB / 0.6329 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00043/0.6736, allocations: 169.8 kB / 0.633 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/0.6844, allocations: 3.546 MB / 0.6365 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.6844, allocations: 12 kB / 0.6365 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.6844, allocations: 0 / 0.6365 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.515e-05/0.6845, allocations: 3.984 kB / 0.6365 GB, free: 10.82 MB / 446.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.01436/0.6988, allocations: 5.674 MB / 0.642 GB, free: 4.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.6989, allocations: 0 / 0.642 GB, free: 4.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.7, allocations: 167.8 kB / 0.6422 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005246/0.7053, allocations: 1.488 MB / 0.6437 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002765/0.7056, allocations: 31.98 kB / 0.6437 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01768/0.7232, allocations: 7.168 MB / 0.6507 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7233, allocations: 4 kB / 0.6507 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/0.7368, allocations: 4.566 MB / 0.6551 GB, free: 7.395 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008937/0.7377, allocations: 306.8 kB / 0.6554 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003155/0.738, allocations: 28 kB / 0.6555 GB, free: 7.047 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/0.7396, allocations: 83.91 kB / 0.6555 GB, free: 6.965 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006111/0.7402, allocations: 193.4 kB / 0.6557 GB, free: 6.777 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.7403, allocations: 32 kB / 0.6558 GB, free: 6.746 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001558/0.7419, allocations: 1.094 MB / 0.6568 GB, free: 5.656 MB / 462.1 MB Notification: Performance of sort global known variables: time 3e-07/0.7419, allocations: 0 / 0.6568 GB, free: 5.656 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001801/0.7437, allocations: 0.5895 MB / 0.6574 GB, free: 5.066 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.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 (93): * Single equations (assignments): 92 * 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 {(16,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003458/0.744, allocations: 151.7 kB / 0.6575 GB, free: 4.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00837/0.7524, allocations: 2.972 MB / 0.6605 GB, free: 1.938 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.7524, allocations: 0 / 0.6605 GB, free: 1.938 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00467/0.7571, allocations: 1.5 MB / 0.6619 GB, free: 428 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.7589, allocations: 133.5 kB / 0.662 GB, free: 292 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006822/0.7657, allocations: 4.026 MB / 0.666 GB, free: 12.24 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007753/0.7665, allocations: 1.23 MB / 0.6672 GB, free: 10.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009018/0.7674, allocations: 159.2 kB / 0.6673 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004715/0.7679, allocations: 99.42 kB / 0.6674 GB, free: 10.72 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.7679, allocations: 0 / 0.6674 GB, free: 10.72 MB / 478.1 MB Notification: Performance of Templates: time 0.04836/0.8163, allocations: 27.88 MB / 0.6946 GB, free: 14.88 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)