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: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_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.001398/0.001398, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 239.2 MB, free: 4.594 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.00125/0.00125, allocations: 192.5 kB / 289.6 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5117/0.5117, allocations: 91.89 MB / 431.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 75.89 kB / 0.502 GB, free: 7.613 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4008, allocations: 71.26 MB / 0.5716 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.006791/0.4076, allocations: 8.233 MB / 0.5796 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004652/0.4123, allocations: 2.609 MB / 0.5822 GB, free: 29.58 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009197/0.4132, allocations: 10.72 kB / 0.5822 GB, free: 29.58 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005682/0.4138, allocations: 307.3 kB / 0.5825 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002263/0.4161, allocations: 1.145 MB / 0.5836 GB, free: 28.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.4173, allocations: 0.6995 MB / 0.5843 GB, free: 28.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001956/0.4193, allocations: 2.363 MB / 0.5866 GB, free: 27.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004129/0.4197, allocations: 315 kB / 0.5869 GB, free: 27.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009679/0.4207, allocations: 0.9514 MB / 0.5878 GB, free: 26.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.4219, allocations: 1.303 MB / 0.5891 GB, free: 26.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003853/0.4223, allocations: 207 kB / 0.5893 GB, free: 26.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000784/0.4231, allocations: 384.3 kB / 0.5896 GB, free: 25.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000332/0.4235, allocations: 0.5012 MB / 0.5901 GB, free: 25.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006703/0.4242, allocations: 0.9729 MB / 0.5911 GB, free: 25.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00209/0.4263, allocations: 2.296 MB / 0.5933 GB, free: 24.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4263, allocations: 0 / 0.5933 GB, free: 24.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.4263, allocations: 0 / 0.5933 GB, free: 24.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.202e-05/0.4263, allocations: 5.281 kB / 0.5933 GB, free: 24.03 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.01543/0.4418, allocations: 4.094 MB / 0.5973 GB, free: 22.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.4418, allocations: 10.22 kB / 0.5973 GB, free: 22.47 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001901/0.442, allocations: 135.9 kB / 0.5975 GB, free: 22.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003596/0.4456, allocations: 0.582 MB / 0.598 GB, free: 22.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/0.4476, allocations: 1.219 MB / 0.5992 GB, free: 21.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002548/0.4479, allocations: 267.9 kB / 0.5995 GB, free: 21.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/0.4481, allocations: 111.3 kB / 0.5996 GB, free: 21.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/0.4504, allocations: 1.092 MB / 0.6006 GB, free: 20.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.4505, allocations: 0 / 0.6006 GB, free: 20.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.4506, allocations: 34.88 kB / 0.6007 GB, free: 20.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.4506, allocations: 23.41 kB / 0.6007 GB, free: 20.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/0.453, allocations: 1.177 MB / 0.6019 GB, free: 20.34 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.007877/0.4609, allocations: 4.627 MB / 0.6064 GB, free: 17.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002845/0.4638, allocations: 2.147 MB / 0.6085 GB, free: 16.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/0.4652, allocations: 0.7983 MB / 0.6092 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.4653, allocations: 25.84 kB / 0.6093 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.4653, allocations: 44 kB / 0.6093 GB, free: 15.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.497e-06/0.4654, allocations: 1.375 kB / 0.6093 GB, free: 15.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02734/0.4927, allocations: 6.692 MB / 0.6159 GB, free: 13.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.4928, allocations: 68.41 kB / 0.6159 GB, free: 13.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00264/0.4954, allocations: 1.662 MB / 0.6175 GB, free: 12.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003507/0.4958, allocations: 57.27 kB / 0.6176 GB, free: 12.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/0.4962, allocations: 0.5535 MB / 0.6181 GB, free: 12.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004839/0.4967, allocations: 0.4958 MB / 0.6186 GB, free: 11.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008179/0.4975, allocations: 0.5072 MB / 0.6191 GB, free: 11.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.783e-05/0.4976, allocations: 302.4 kB / 0.6194 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.4997, allocations: 1.144 MB / 0.6205 GB, free: 10.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002308/0.502, allocations: 1.361 MB / 0.6218 GB, free: 9.992 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003846/0.5058, allocations: 2.345 MB / 0.6241 GB, free: 8.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.5059, allocations: 0 / 0.6241 GB, free: 8.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008255/0.5141, allocations: 4.082 MB / 0.6281 GB, free: 4.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.5142, allocations: 4 kB / 0.6281 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.5142, allocations: 4 kB / 0.6281 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009872/0.5241, allocations: 2.831 MB / 0.6309 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/0.5264, allocations: 483.3 kB / 0.6314 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005505/0.5319, allocations: 2.527 MB / 0.6338 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003086/0.535, allocations: 237.9 kB / 0.6341 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002302/0.5352, allocations: 91.97 kB / 0.6341 GB, free: 13.82 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.0006849/0.5359, allocations: 321.2 kB / 0.6344 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003577/0.5363, allocations: 169.8 kB / 0.6346 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/0.5471, allocations: 3.546 MB / 0.6381 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/0.5472, allocations: 12 kB / 0.6381 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.5472, allocations: 0 / 0.6381 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.737e-05/0.5472, allocations: 11.97 kB / 0.6381 GB, free: 9.734 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.014/0.5612, allocations: 5.666 MB / 0.6436 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.5613, allocations: 0 / 0.6436 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.5624, allocations: 167.8 kB / 0.6438 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005422/0.5678, allocations: 1.484 MB / 0.6452 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001962/0.568, allocations: 31.98 kB / 0.6453 GB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01875/0.5868, allocations: 7.853 MB / 0.6529 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5868, allocations: 0 / 0.6529 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01336/0.6002, allocations: 4.564 MB / 0.6574 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.6013, allocations: 298.7 kB / 0.6577 GB, free: 5.316 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003467/0.6016, allocations: 31.92 kB / 0.6577 GB, free: 5.285 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.6032, allocations: 75.88 kB / 0.6578 GB, free: 5.211 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006236/0.6038, allocations: 193.5 kB / 0.658 GB, free: 5.023 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.01e-05/0.6039, allocations: 35.98 kB / 0.658 GB, free: 4.988 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001539/0.6055, allocations: 1.098 MB / 0.6591 GB, free: 3.895 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6055, allocations: 0 / 0.6591 GB, free: 3.895 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00171/0.6072, allocations: 0.5932 MB / 0.6597 GB, free: 3.301 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.0139/0.6211, allocations: 5.163 MB / 0.6647 GB, free: 14.11 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01019/0.6313, allocations: 3.053 MB / 0.6677 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.6314, allocations: 0 / 0.6677 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005053/0.6364, allocations: 1.524 MB / 0.6692 GB, free: 9.512 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.6383, allocations: 129.6 kB / 0.6693 GB, free: 9.383 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04321/0.6815, allocations: 20.32 MB / 0.6891 GB, free: 4.109 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009121/0.6824, allocations: 1.234 MB / 0.6903 GB, free: 2.844 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009326/0.6834, allocations: 167.2 kB / 0.6905 GB, free: 2.676 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009527/0.6844, allocations: 0.632 MB / 0.6911 GB, free: 2.043 MB / 494.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6844, allocations: 4 kB / 0.6911 GB, free: 2.039 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08859/0.773, allocations: 44.57 MB / 0.7346 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.17, allocations: 8 kB / 0.7346 GB, free: 5.684 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)