Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.0009997/0.0009998, 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.259/1.259, 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.001286/0.001286, allocations: 196.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.0.1/package.mo): time 0.4322/0.4322, allocations: 78.52 MB / 417.8 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 71.89 kB / 496.8 MB, free: 6.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1301, allocations: 68.17 MB / 0.5517 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.2095/0.3396, allocations: 8.465 MB / 0.56 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003723/0.3434, allocations: 2.65 MB / 0.5625 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005587/0.344, allocations: 12.97 kB / 0.5626 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.3446, allocations: 238.6 kB / 0.5628 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002699/0.3473, allocations: 1.364 MB / 0.5641 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009148/0.3482, allocations: 0.5562 MB / 0.5647 GB, free: 33.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001896/0.3501, allocations: 2.428 MB / 0.567 GB, free: 33.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003699/0.3505, allocations: 291.6 kB / 0.5673 GB, free: 33.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007968/0.3513, allocations: 0.8978 MB / 0.5682 GB, free: 33.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009404/0.3522, allocations: 1.269 MB / 0.5694 GB, free: 32.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002252/0.3525, allocations: 118.8 kB / 0.5695 GB, free: 32.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005674/0.353, allocations: 292.1 kB / 0.5698 GB, free: 32.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003017/0.3533, allocations: 451.4 kB / 0.5702 GB, free: 32.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006656/0.354, allocations: 0.9006 MB / 0.5711 GB, free: 32.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.3555, allocations: 2.275 MB / 0.5733 GB, free: 31.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3555, allocations: 0.8125 kB / 0.5733 GB, free: 31.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.3555, allocations: 0 / 0.5733 GB, free: 31.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.425e-05/0.3555, allocations: 4.062 kB / 0.5734 GB, free: 31.99 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.0181/0.3736, allocations: 4.946 MB / 0.5782 GB, free: 30.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3737, allocations: 14.31 kB / 0.5782 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003247/0.377, allocations: 0.5791 MB / 0.5788 GB, free: 30.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.3785, allocations: 1.215 MB / 0.5799 GB, free: 30.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.3787, allocations: 270.7 kB / 0.5802 GB, free: 30.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.3789, allocations: 112.6 kB / 0.5803 GB, free: 30.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.3808, allocations: 1.087 MB / 0.5814 GB, free: 29.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3808, allocations: 0 / 0.5814 GB, free: 29.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.79e-05/0.381, allocations: 34.78 kB / 0.5814 GB, free: 29.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.381, allocations: 20.84 kB / 0.5814 GB, free: 29.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.3832, allocations: 1.184 MB / 0.5826 GB, free: 29.18 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.006098/0.3894, allocations: 4.621 MB / 0.5871 GB, free: 26.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002849/0.3922, allocations: 2.142 MB / 0.5892 GB, free: 25.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.3935, allocations: 0.7942 MB / 0.59 GB, free: 24.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.3937, allocations: 26.47 kB / 0.59 GB, free: 24.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.3937, allocations: 44.5 kB / 0.59 GB, free: 24.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 2.996e-06/0.3937, allocations: 1.688 kB / 0.59 GB, free: 24.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02499/0.4187, allocations: 6.693 MB / 0.5966 GB, free: 23.24 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.4187, allocations: 70.91 kB / 0.5966 GB, free: 23.17 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/0.4209, allocations: 1.658 MB / 0.5983 GB, free: 22.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002106/0.4211, allocations: 61.42 kB / 0.5983 GB, free: 22.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/0.4215, allocations: 0.5493 MB / 0.5988 GB, free: 21.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/0.4219, allocations: 0.4902 MB / 0.5993 GB, free: 21.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007752/0.4226, allocations: 0.5098 MB / 0.5998 GB, free: 21.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.165e-05/0.4227, allocations: 306.8 kB / 0.6001 GB, free: 21.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001996/0.4247, allocations: 1.145 MB / 0.6012 GB, free: 20.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002209/0.4269, allocations: 1.358 MB / 0.6026 GB, free: 20.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003715/0.4306, allocations: 2.344 MB / 0.6049 GB, free: 18.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.4306, allocations: 0.5625 kB / 0.6049 GB, free: 18.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008322/0.439, allocations: 4.079 MB / 0.6088 GB, free: 17.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.439, allocations: 5.703 kB / 0.6088 GB, free: 17.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.439, allocations: 1.562 kB / 0.6088 GB, free: 17.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01021/0.4493, allocations: 2.828 MB / 0.6116 GB, free: 16.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/0.4515, allocations: 480.2 kB / 0.6121 GB, free: 16.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004833/0.4564, allocations: 2.53 MB / 0.6145 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/0.4588, allocations: 245.8 kB / 0.6148 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.459, allocations: 89 kB / 0.6149 GB, free: 14.52 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 (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.0005043/0.4595, allocations: 318 kB / 0.6152 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/0.4598, allocations: 165.8 kB / 0.6153 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009196/0.469, allocations: 3.54 MB / 0.6188 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.469, allocations: 16.8 kB / 0.6188 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.469, allocations: 1 kB / 0.6188 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.4691, allocations: 7.969 kB / 0.6188 GB, free: 10.46 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.01067/0.4797, allocations: 5.674 MB / 0.6243 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4798, allocations: 0 / 0.6243 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000876/0.4806, allocations: 163.8 kB / 0.6245 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004548/0.4852, allocations: 1.486 MB / 0.6259 GB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.857e-05/0.4853, allocations: 28.94 kB / 0.626 GB, free: 2.941 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01548/0.5008, allocations: 7.179 MB / 0.633 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5008, allocations: 0 / 0.633 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/0.513, allocations: 4.56 MB / 0.6374 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006958/0.5137, allocations: 302.8 kB / 0.6377 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003981/0.5141, allocations: 28 kB / 0.6378 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/0.5157, allocations: 83.86 kB / 0.6378 GB, free: 6.605 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000569/0.5163, allocations: 181.4 kB / 0.638 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.5164, allocations: 37.23 kB / 0.638 GB, free: 6.395 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001535/0.5179, allocations: 1.094 MB / 0.6391 GB, free: 5.305 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5179, allocations: 2.062 kB / 0.6391 GB, free: 5.305 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001542/0.5195, allocations: 0.5895 MB / 0.6397 GB, free: 4.715 MB / 446.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.0002849/0.5198, allocations: 155.1 kB / 0.6398 GB, free: 4.555 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007755/0.5275, allocations: 2.971 MB / 0.6427 GB, free: 1.586 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5276, allocations: 0 / 0.6427 GB, free: 1.586 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004061/0.5316, allocations: 1.504 MB / 0.6442 GB, free: 80 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.5327, allocations: 131.1 kB / 0.6443 GB, free: 15.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006065/0.5388, allocations: 4.038 MB / 0.6483 GB, free: 11.99 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007334/0.5395, allocations: 1.238 MB / 0.6495 GB, free: 10.72 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006677/0.5402, allocations: 159.2 kB / 0.6496 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004738/0.5407, allocations: 103.4 kB / 0.6497 GB, free: 10.46 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5407, allocations: 0 / 0.6497 GB, free: 10.46 MB / 462.1 MB Notification: Performance of Templates: time 0.03925/0.5799, allocations: 27.87 MB / 0.6769 GB, free: 14.74 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)