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.00507/0.00507, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.207/1.207, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001239/0.001239, allocations: 188.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4117/0.4117, allocations: 78.53 MB / 418.4 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 75.88 kB / 0.5531 GB, free: 1.492 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2552, allocations: 68.17 MB / 0.6197 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.005382/0.2606, allocations: 8.21 MB / 0.6277 GB, free: 1.945 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003821/0.2644, allocations: 2.623 MB / 0.6303 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006648/0.2651, allocations: 8 kB / 0.6303 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005707/0.2657, allocations: 301.4 kB / 0.6306 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00312/0.2688, allocations: 1.504 MB / 0.632 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.2699, allocations: 0.5937 MB / 0.6326 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002564/0.2725, allocations: 2.574 MB / 0.6351 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004895/0.273, allocations: 319.1 kB / 0.6354 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/0.2743, allocations: 1.008 MB / 0.6364 GB, free: 8.996 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.2759, allocations: 1.354 MB / 0.6377 GB, free: 7.633 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004984/0.2764, allocations: 204 kB / 0.6379 GB, free: 7.434 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009128/0.2774, allocations: 383.8 kB / 0.6383 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005925/0.278, allocations: 0.5099 MB / 0.6388 GB, free: 6.547 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.2791, allocations: 0.9946 MB / 0.6398 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.2814, allocations: 2.375 MB / 0.6421 GB, free: 3.164 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2814, allocations: 4 kB / 0.6421 GB, free: 3.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2814, allocations: 0 / 0.6421 GB, free: 3.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.958e-05/0.2815, allocations: 0 / 0.6421 GB, free: 3.16 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.01902/0.3005, allocations: 4.945 MB / 0.6469 GB, free: 14.15 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3006, allocations: 8.031 kB / 0.6469 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002408/0.3008, allocations: 135.4 kB / 0.6471 GB, free: 14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003298/0.3041, allocations: 0.5758 MB / 0.6476 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.3062, allocations: 1.216 MB / 0.6488 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002627/0.3064, allocations: 272.8 kB / 0.6491 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002499/0.3067, allocations: 112 kB / 0.6492 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.3087, allocations: 1.093 MB / 0.6502 GB, free: 10.65 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.3088, allocations: 0 / 0.6502 GB, free: 10.65 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.3089, allocations: 36 kB / 0.6503 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.3089, allocations: 23.94 kB / 0.6503 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.3111, allocations: 1.175 MB / 0.6515 GB, free: 9.414 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.007165/0.3182, allocations: 4.61 MB / 0.656 GB, free: 4.582 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002981/0.3212, allocations: 2.151 MB / 0.6581 GB, free: 2.246 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.3226, allocations: 0.7946 MB / 0.6588 GB, free: 1.449 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.3227, allocations: 17.3 kB / 0.6588 GB, free: 1.434 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.3227, allocations: 47.88 kB / 0.6589 GB, free: 1.375 MB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 4.178e-06/0.3227, allocations: 0 / 0.6589 GB, free: 1.375 MB / 462.1 MB Notification: Performance of matching and sorting (n=130): time 0.02503/0.3478, allocations: 6.695 MB / 0.6654 GB, free: 10.64 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.3479, allocations: 64.72 kB / 0.6655 GB, free: 10.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002442/0.3503, allocations: 1.655 MB / 0.6671 GB, free: 8.902 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002699/0.3506, allocations: 57.7 kB / 0.6672 GB, free: 8.84 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004721/0.3511, allocations: 0.5574 MB / 0.6677 GB, free: 8.273 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005488/0.3516, allocations: 0.4932 MB / 0.6682 GB, free: 7.773 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009873/0.3526, allocations: 0.5094 MB / 0.6687 GB, free: 7.258 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.511e-05/0.3527, allocations: 301.1 kB / 0.669 GB, free: 6.961 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002088/0.3548, allocations: 1.145 MB / 0.6701 GB, free: 5.812 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002239/0.3571, allocations: 1.368 MB / 0.6714 GB, free: 4.418 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004049/0.3611, allocations: 2.334 MB / 0.6737 GB, free: 2.043 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.3612, allocations: 0 / 0.6737 GB, free: 2.043 MB / 478.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008589/0.3698, allocations: 4.086 MB / 0.6777 GB, free: 13.92 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.3698, allocations: 6.219 kB / 0.6777 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.3698, allocations: 8 kB / 0.6777 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01011/0.3799, allocations: 2.83 MB / 0.6805 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/0.3822, allocations: 475.3 kB / 0.6809 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005226/0.3874, allocations: 2.523 MB / 0.6834 GB, free: 8.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/0.39, allocations: 245.8 kB / 0.6836 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002979/0.3903, allocations: 95.97 kB / 0.6837 GB, free: 7.715 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.0006714/0.391, allocations: 309.3 kB / 0.684 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004082/0.3914, allocations: 173.8 kB / 0.6842 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/0.4016, allocations: 3.542 MB / 0.6876 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.4017, allocations: 16 kB / 0.6877 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.4017, allocations: 0 / 0.6877 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.263e-05/0.4017, allocations: 3.984 kB / 0.6877 GB, free: 3.648 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.0129/0.4146, allocations: 5.654 MB / 0.6932 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.4146, allocations: 3.984 kB / 0.6932 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009768/0.4156, allocations: 163.8 kB / 0.6933 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005086/0.4207, allocations: 1.484 MB / 0.6948 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/0.4209, allocations: 35.98 kB / 0.6948 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01745/0.4384, allocations: 7.837 MB / 0.7025 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4384, allocations: 0 / 0.7025 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01204/0.4505, allocations: 4.566 MB / 0.7069 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006466/0.4512, allocations: 298.8 kB / 0.7072 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004135/0.4516, allocations: 27.98 kB / 0.7072 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/0.4531, allocations: 79.94 kB / 0.7073 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005314/0.4536, allocations: 185.5 kB / 0.7075 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.4537, allocations: 43.98 kB / 0.7075 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001543/0.4553, allocations: 1.086 MB / 0.7086 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4553, allocations: 4 kB / 0.7086 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001574/0.4569, allocations: 0.5932 MB / 0.7092 GB, free: 13.24 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.01202/0.4689, allocations: 5.156 MB / 0.7142 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007886/0.4768, allocations: 3.026 MB / 0.7172 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4769, allocations: 0 / 0.7172 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004128/0.481, allocations: 1.524 MB / 0.7187 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.4823, allocations: 133.5 kB / 0.7188 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03576/0.5181, allocations: 18.86 MB / 0.7372 GB, free: 236 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007753/0.5189, allocations: 1.242 MB / 0.7384 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006774/0.5196, allocations: 159.2 kB / 0.7386 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009716/0.5206, allocations: 0.6281 MB / 0.7392 GB, free: 14.17 MB / 0.545 GB Notification: Performance of SimCode: time 9.11e-07/0.5206, allocations: 4 kB / 0.7392 GB, free: 14.17 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2905/0.8111, allocations: 46.99 MB / 0.7851 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.2, allocations: 6.094 kB / 0.7851 GB, free: 135.2 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)