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.001012/0.001012, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.358/1.358, allocations: 223.2 MB / 238.9 MB, free: 5.477 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.001141/0.001141, allocations: 185 kB / 290.2 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4664/0.4664, allocations: 78.52 MB / 419.8 MB, free: 4.305 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003518, allocations: 12 kB / 499.8 MB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1325, allocations: 69.35 MB / 0.5558 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.2649/0.3974, allocations: 7.088 MB / 0.5627 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005334/0.4028, allocations: 2.577 MB / 0.5652 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.4042, allocations: 12.19 kB / 0.5652 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006881/0.4049, allocations: 206.2 kB / 0.5654 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003805/0.4087, allocations: 1.317 MB / 0.5667 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.4099, allocations: 0.5009 MB / 0.5672 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002845/0.4127, allocations: 1.569 MB / 0.5687 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004371/0.4132, allocations: 261.1 kB / 0.569 GB, free: 35.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.4143, allocations: 0.8488 MB / 0.5698 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.4154, allocations: 1.214 MB / 0.571 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002132/0.4157, allocations: 107.8 kB / 0.5711 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006182/0.4163, allocations: 254.3 kB / 0.5713 GB, free: 34.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.4166, allocations: 415.3 kB / 0.5717 GB, free: 34.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.4168, allocations: 291.2 kB / 0.572 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.4181, allocations: 1.714 MB / 0.5737 GB, free: 34.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4181, allocations: 0 / 0.5737 GB, free: 34.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4182, allocations: 2.719 kB / 0.5737 GB, free: 34.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.254e-05/0.4182, allocations: 0 / 0.5737 GB, free: 34.14 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.01815/0.4363, allocations: 4.78 MB / 0.5783 GB, free: 32.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.4364, allocations: 11.62 kB / 0.5784 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005354/0.437, allocations: 137.6 kB / 0.5785 GB, free: 32.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003768/0.4407, allocations: 0.5801 MB / 0.5791 GB, free: 32.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/0.4429, allocations: 1.166 MB / 0.5802 GB, free: 31.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/0.4431, allocations: 282.7 kB / 0.5805 GB, free: 31.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.4433, allocations: 112.2 kB / 0.5806 GB, free: 31.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.4452, allocations: 1.127 MB / 0.5817 GB, free: 31.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.4452, allocations: 3.938 kB / 0.5817 GB, free: 31.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.52e-05/0.4453, allocations: 33.75 kB / 0.5817 GB, free: 31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.4454, allocations: 24.64 kB / 0.5817 GB, free: 31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.4475, allocations: 1.226 MB / 0.5829 GB, free: 30.61 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.007605/0.4551, allocations: 4.773 MB / 0.5876 GB, free: 27.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003086/0.4582, allocations: 2.188 MB / 0.5897 GB, free: 26.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.4583, allocations: 26.39 kB / 0.5898 GB, free: 26.33 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.4584, allocations: 49.53 kB / 0.5898 GB, free: 26.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 4.268e-06/0.4584, allocations: 0 / 0.5898 GB, free: 26.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02921/0.4876, allocations: 7.683 MB / 0.5973 GB, free: 24.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.4877, allocations: 69.48 kB / 0.5974 GB, free: 24.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002603/0.4903, allocations: 1.644 MB / 0.599 GB, free: 24.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004403/0.4907, allocations: 61.3 kB / 0.599 GB, free: 23.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003994/0.4911, allocations: 0.5498 MB / 0.5996 GB, free: 23.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005447/0.4917, allocations: 0.4909 MB / 0.6 GB, free: 23.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.4919, allocations: 58.38 kB / 0.6001 GB, free: 23.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.492, allocations: 408.9 kB / 0.6005 GB, free: 22.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/0.4943, allocations: 1.183 MB / 0.6017 GB, free: 22.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/0.4967, allocations: 1.384 MB / 0.603 GB, free: 21.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/0.4992, allocations: 1.299 MB / 0.6043 GB, free: 21.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.4992, allocations: 0 / 0.6043 GB, free: 21.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009586/0.5088, allocations: 4.269 MB / 0.6084 GB, free: 19.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.5089, allocations: 9.188 kB / 0.6084 GB, free: 19.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.5089, allocations: 2.844 kB / 0.6085 GB, free: 19.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01157/0.5205, allocations: 3.088 MB / 0.6115 GB, free: 19.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00257/0.5231, allocations: 475.1 kB / 0.6119 GB, free: 19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005625/0.5287, allocations: 2.7 MB / 0.6146 GB, free: 17.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002981/0.5317, allocations: 278.9 kB / 0.6148 GB, free: 17.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/0.532, allocations: 88.06 kB / 0.6149 GB, free: 17.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 38} Notification: Performance of prepare postOptimizeDAE: time 0.0006218/0.5326, allocations: 307.1 kB / 0.6152 GB, free: 16.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002988/0.5329, allocations: 169.9 kB / 0.6154 GB, free: 16.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/0.5429, allocations: 4.125 MB / 0.6194 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.543, allocations: 12.61 kB / 0.6194 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.543, allocations: 0 / 0.6194 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.96e-05/0.543, allocations: 7.969 kB / 0.6194 GB, free: 12.6 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.01262/0.5557, allocations: 6.236 MB / 0.6255 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.5557, allocations: 5.25 kB / 0.6255 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.5568, allocations: 167.8 kB / 0.6257 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005092/0.5619, allocations: 1.705 MB / 0.6273 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002191/0.5621, allocations: 27.98 kB / 0.6274 GB, free: 4.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/0.5795, allocations: 8.192 MB / 0.6354 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.5796, allocations: 0.5469 kB / 0.6354 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/0.5932, allocations: 5.178 MB / 0.6404 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008349/0.5941, allocations: 316.7 kB / 0.6407 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/0.5943, allocations: 24 kB / 0.6407 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.5958, allocations: 105 kB / 0.6408 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005344/0.5963, allocations: 190 kB / 0.641 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.65e-05/0.5964, allocations: 35.98 kB / 0.6411 GB, free: 6.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001445/0.5979, allocations: 1.082 MB / 0.6421 GB, free: 5.012 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5979, allocations: 4 kB / 0.6421 GB, free: 5.008 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001767/0.5997, allocations: 0.5894 MB / 0.6427 GB, free: 4.418 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.01321/0.6129, allocations: 5.774 MB / 0.6483 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008443/0.6214, allocations: 3.16 MB / 0.6514 GB, free: 11.45 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.6214, allocations: 4 kB / 0.6514 GB, free: 11.45 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004461/0.6259, allocations: 1.66 MB / 0.653 GB, free: 9.777 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.6272, allocations: 108.1 kB / 0.6531 GB, free: 9.672 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008525/0.6357, allocations: 5.791 MB / 0.6588 GB, free: 3.895 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007667/0.6365, allocations: 1.265 MB / 0.66 GB, free: 2.598 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007628/0.6373, allocations: 168.6 kB / 0.6602 GB, free: 2.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008796/0.6381, allocations: 0.6243 MB / 0.6608 GB, free: 1.805 MB / 462.1 MB Notification: Performance of SimCode: time 8.91e-07/0.6382, allocations: 1.5 kB / 0.6608 GB, free: 1.805 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0626/0.7008, allocations: 39.63 MB / 0.6995 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.701, allocations: 233.2 kB / 0.6997 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.243/3.944, allocations: 0 / 0.6997 GB, free: 10.32 MB / 0.4981 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/linux/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) Environment - environmentSimulation: