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: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",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.005025/0.005025, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.333/1.333, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001329/0.001329, allocations: 184.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4552/0.4552, allocations: 78.52 MB / 418.4 MB, free: 3.141 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 83.86 kB / 0.5531 GB, free: 1.492 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2953, allocations: 68.17 MB / 0.6197 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.006373/0.3017, allocations: 8.22 MB / 0.6277 GB, free: 1.926 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004469/0.3062, allocations: 2.616 MB / 0.6303 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.3074, allocations: 8 kB / 0.6303 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008476/0.3083, allocations: 313.3 kB / 0.6306 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004295/0.3126, allocations: 1.5 MB / 0.632 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.3139, allocations: 0.5933 MB / 0.6326 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003279/0.3172, allocations: 2.57 MB / 0.6351 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005635/0.3178, allocations: 323 kB / 0.6354 GB, free: 9.988 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.3192, allocations: 1.004 MB / 0.6364 GB, free: 8.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001752/0.321, allocations: 1.358 MB / 0.6377 GB, free: 7.613 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005105/0.3215, allocations: 208 kB / 0.6379 GB, free: 7.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008788/0.3224, allocations: 379.8 kB / 0.6383 GB, free: 7.039 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005099/0.3229, allocations: 0.5176 MB / 0.6388 GB, free: 6.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.324, allocations: 0.9869 MB / 0.6398 GB, free: 5.527 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.3266, allocations: 2.375 MB / 0.6421 GB, free: 3.145 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3266, allocations: 0 / 0.6421 GB, free: 3.145 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3266, allocations: 0 / 0.6421 GB, free: 3.145 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.351e-05/0.3267, allocations: 0 / 0.6421 GB, free: 3.145 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.0214/0.3481, allocations: 4.951 MB / 0.6469 GB, free: 14.13 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.3482, allocations: 12.03 kB / 0.6469 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003629/0.3485, allocations: 139.4 kB / 0.6471 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003851/0.3524, allocations: 0.5758 MB / 0.6476 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002339/0.3548, allocations: 1.216 MB / 0.6488 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002857/0.3551, allocations: 268.8 kB / 0.6491 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003216/0.3554, allocations: 112 kB / 0.6492 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.3577, allocations: 1.093 MB / 0.6503 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.3578, allocations: 0 / 0.6503 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.3579, allocations: 36 kB / 0.6503 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.3579, allocations: 23.94 kB / 0.6503 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/0.3604, allocations: 1.167 MB / 0.6515 GB, free: 9.398 MB / 462.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.008/0.3684, allocations: 4.61 MB / 0.656 GB, free: 4.566 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00344/0.3719, allocations: 2.147 MB / 0.658 GB, free: 2.234 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.3735, allocations: 0.7985 MB / 0.6588 GB, free: 1.434 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.3737, allocations: 21.28 kB / 0.6589 GB, free: 1.414 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.3737, allocations: 47.88 kB / 0.6589 GB, free: 1.355 MB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 3.336e-06/0.3738, allocations: 4 kB / 0.6589 GB, free: 1.352 MB / 462.1 MB Notification: Performance of matching and sorting (n=130): time 0.02834/0.4021, allocations: 6.683 MB / 0.6654 GB, free: 10.63 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.4022, allocations: 68.66 kB / 0.6655 GB, free: 10.55 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/0.4049, allocations: 1.659 MB / 0.6671 GB, free: 8.883 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003033/0.4052, allocations: 53.7 kB / 0.6672 GB, free: 8.824 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005108/0.4057, allocations: 0.5535 MB / 0.6677 GB, free: 8.262 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005914/0.4063, allocations: 0.4971 MB / 0.6682 GB, free: 7.758 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/0.4075, allocations: 0.5133 MB / 0.6687 GB, free: 7.238 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.616e-05/0.4076, allocations: 301.1 kB / 0.669 GB, free: 6.941 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002409/0.41, allocations: 1.145 MB / 0.6701 GB, free: 5.793 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002563/0.4126, allocations: 1.364 MB / 0.6714 GB, free: 4.402 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004841/0.4174, allocations: 2.342 MB / 0.6737 GB, free: 2.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/0.4175, allocations: 4 kB / 0.6737 GB, free: 2.016 MB / 478.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01015/0.4276, allocations: 4.082 MB / 0.6777 GB, free: 13.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.4277, allocations: 4 kB / 0.6777 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.4277, allocations: 4 kB / 0.6777 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01133/0.4391, allocations: 2.815 MB / 0.6805 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002435/0.4415, allocations: 483.3 kB / 0.6809 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006/0.4476, allocations: 2.531 MB / 0.6834 GB, free: 8.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/0.4504, allocations: 241.9 kB / 0.6836 GB, free: 7.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003531/0.4508, allocations: 91.97 kB / 0.6837 GB, free: 7.703 MB / 494.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.0007362/0.4516, allocations: 309.3 kB / 0.684 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004387/0.452, allocations: 173.8 kB / 0.6842 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/0.4638, allocations: 3.542 MB / 0.6876 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/0.4638, allocations: 12 kB / 0.6876 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.4639, allocations: 3.938 kB / 0.6876 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.764e-05/0.4639, allocations: 11.97 kB / 0.6877 GB, free: 3.629 MB / 494.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.01558/0.4795, allocations: 5.65 MB / 0.6932 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.4795, allocations: 0 / 0.6932 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.4807, allocations: 167.8 kB / 0.6933 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005678/0.4864, allocations: 1.484 MB / 0.6948 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/0.4866, allocations: 28 kB / 0.6948 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02022/0.5069, allocations: 7.845 MB / 0.7025 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.5069, allocations: 0 / 0.7025 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/0.5208, allocations: 4.569 MB / 0.7069 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007953/0.5216, allocations: 306.8 kB / 0.7072 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004557/0.5221, allocations: 20 kB / 0.7072 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/0.5238, allocations: 79.92 kB / 0.7073 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006497/0.5245, allocations: 189.5 kB / 0.7075 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/0.5246, allocations: 39.98 kB / 0.7075 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001754/0.5264, allocations: 1.09 MB / 0.7086 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5264, allocations: 0 / 0.7086 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002083/0.5285, allocations: 0.5971 MB / 0.7092 GB, free: 13.22 MB / 0.5137 GB 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.01425/0.5428, allocations: 5.156 MB / 0.7142 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008806/0.5516, allocations: 3.014 MB / 0.7172 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.5516, allocations: 0 / 0.7172 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004778/0.5564, allocations: 1.524 MB / 0.7187 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.5578, allocations: 129.5 kB / 0.7188 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04032/0.5982, allocations: 18.87 MB / 0.7372 GB, free: 216 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008655/0.5991, allocations: 1.23 MB / 0.7384 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008415/0.5999, allocations: 167.1 kB / 0.7386 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/0.6011, allocations: 0.632 MB / 0.7392 GB, free: 14.15 MB / 0.545 GB Notification: Performance of SimCode: time 7.61e-07/0.6011, allocations: 0 / 0.7392 GB, free: 14.15 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3343/0.9355, allocations: 46.99 MB / 0.7851 GB, free: 135 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/15.67, allocations: 5.781 kB / 0.7851 GB, free: 135 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)