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.00119/0.00119, allocations: 98.38 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.313/1.313, allocations: 223.2 MB / 238.9 MB, free: 5.57 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.001203/0.001203, allocations: 189 kB / 290.2 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4476/0.4476, allocations: 79.44 MB / 420.7 MB, free: 4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003697, allocations: 19.98 kB / 0.4891 GB, free: 5.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3232, allocations: 69.49 MB / 0.5569 GB, free: 37.33 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.005318/0.3286, allocations: 7.103 MB / 0.5639 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003889/0.3325, allocations: 2.571 MB / 0.5664 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000653/0.3331, allocations: 14.72 kB / 0.5664 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004477/0.3336, allocations: 212.3 kB / 0.5666 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002014/0.3356, allocations: 1.003 MB / 0.5676 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009823/0.3366, allocations: 0.5719 MB / 0.5682 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00159/0.3382, allocations: 1.436 MB / 0.5696 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003331/0.3386, allocations: 272.8 kB / 0.5698 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007934/0.3394, allocations: 0.8103 MB / 0.5706 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.3405, allocations: 1.163 MB / 0.5717 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002349/0.3408, allocations: 106.5 kB / 0.5718 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006308/0.3414, allocations: 260.4 kB / 0.5721 GB, free: 34.01 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.3417, allocations: 395.3 kB / 0.5725 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.3419, allocations: 290.9 kB / 0.5727 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.3433, allocations: 1.682 MB / 0.5744 GB, free: 33.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.3433, allocations: 1.094 kB / 0.5744 GB, free: 33.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3433, allocations: 0 / 0.5744 GB, free: 33.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.607e-05/0.3434, allocations: 2.844 kB / 0.5744 GB, free: 33.17 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.01353/0.3569, allocations: 3.934 MB / 0.5782 GB, free: 31.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.149e-05/0.357, allocations: 10.91 kB / 0.5782 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003589/0.3573, allocations: 137.2 kB / 0.5784 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003526/0.3609, allocations: 0.5791 MB / 0.5789 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.3628, allocations: 1.156 MB / 0.5801 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/0.363, allocations: 275 kB / 0.5803 GB, free: 30.65 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.3632, allocations: 121.2 kB / 0.5804 GB, free: 30.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.3651, allocations: 1.133 MB / 0.5816 GB, free: 30.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.3651, allocations: 4.5 kB / 0.5816 GB, free: 30.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.882e-05/0.3652, allocations: 36.67 kB / 0.5816 GB, free: 30.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.3652, allocations: 20.5 kB / 0.5816 GB, free: 30.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.3673, allocations: 1.231 MB / 0.5828 GB, free: 29.76 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.006691/0.374, allocations: 4.764 MB / 0.5875 GB, free: 26.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002954/0.3769, allocations: 2.187 MB / 0.5896 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.3771, allocations: 34.09 kB / 0.5896 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.3771, allocations: 49.31 kB / 0.5897 GB, free: 25.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.577e-06/0.3771, allocations: 0 / 0.5897 GB, free: 25.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02761/0.4048, allocations: 7.676 MB / 0.5972 GB, free: 23.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.4048, allocations: 71.27 kB / 0.5972 GB, free: 23.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002411/0.4073, allocations: 1.648 MB / 0.5989 GB, free: 23.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002978/0.4076, allocations: 55.2 kB / 0.5989 GB, free: 23.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003738/0.4079, allocations: 0.5542 MB / 0.5994 GB, free: 22.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004621/0.4084, allocations: 0.4949 MB / 0.5999 GB, free: 22.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.4086, allocations: 54.78 kB / 0.6 GB, free: 22.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4087, allocations: 407.8 kB / 0.6004 GB, free: 21.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.4108, allocations: 1.18 MB / 0.6015 GB, free: 21.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/0.4132, allocations: 1.391 MB / 0.6029 GB, free: 20.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002321/0.4155, allocations: 1.306 MB / 0.6042 GB, free: 20.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.4155, allocations: 0 / 0.6042 GB, free: 20.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008959/0.4245, allocations: 4.269 MB / 0.6083 GB, free: 18.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.4246, allocations: 5.375 kB / 0.6083 GB, free: 18.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.4246, allocations: 5.734 kB / 0.6083 GB, free: 18.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01122/0.4358, allocations: 3.072 MB / 0.6113 GB, free: 18.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002514/0.4384, allocations: 487.1 kB / 0.6118 GB, free: 18.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00575/0.4442, allocations: 2.695 MB / 0.6144 GB, free: 16.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/0.4472, allocations: 270.3 kB / 0.6147 GB, free: 16.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003299/0.4475, allocations: 92.7 kB / 0.6148 GB, free: 16.68 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.0006754/0.4482, allocations: 309.4 kB / 0.6151 GB, free: 16.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000377/0.4486, allocations: 168.6 kB / 0.6152 GB, free: 16.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/0.4591, allocations: 4.129 MB / 0.6193 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.4591, allocations: 12 kB / 0.6193 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.4591, allocations: 0 / 0.6193 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.628e-05/0.4592, allocations: 7.969 kB / 0.6193 GB, free: 12.57 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.01255/0.4717, allocations: 6.229 MB / 0.6254 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/0.4718, allocations: 3.938 kB / 0.6254 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.4728, allocations: 171.7 kB / 0.6255 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00508/0.4779, allocations: 1.701 MB / 0.6272 GB, free: 4.297 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000162/0.4781, allocations: 24.69 kB / 0.6272 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01746/0.4955, allocations: 8.194 MB / 0.6352 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.4956, allocations: 8 kB / 0.6352 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/0.5091, allocations: 5.175 MB / 0.6403 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000755/0.5098, allocations: 310.8 kB / 0.6406 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/0.5101, allocations: 20 kB / 0.6406 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.5116, allocations: 111.9 kB / 0.6407 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000533/0.5121, allocations: 194.1 kB / 0.6409 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.813e-05/0.5122, allocations: 32 kB / 0.6409 GB, free: 6.062 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001435/0.5137, allocations: 1.086 MB / 0.642 GB, free: 4.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5137, allocations: 0 / 0.642 GB, free: 4.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001573/0.5153, allocations: 0.5855 MB / 0.6426 GB, free: 4.395 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.01366/0.5289, allocations: 5.776 MB / 0.6482 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008472/0.5374, allocations: 3.166 MB / 0.6513 GB, free: 11.42 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5375, allocations: 0 / 0.6513 GB, free: 11.42 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004559/0.5421, allocations: 1.676 MB / 0.6529 GB, free: 9.738 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.5431, allocations: 102.9 kB / 0.653 GB, free: 9.637 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008522/0.5516, allocations: 5.788 MB / 0.6587 GB, free: 3.871 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008752/0.5525, allocations: 1.265 MB / 0.6599 GB, free: 2.574 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000714/0.5533, allocations: 155.2 kB / 0.6601 GB, free: 2.418 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009888/0.5543, allocations: 0.6281 MB / 0.6607 GB, free: 1.789 MB / 462.1 MB Notification: Performance of SimCode: time 6.22e-07/0.5543, allocations: 0 / 0.6607 GB, free: 1.789 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06435/0.6186, allocations: 39.65 MB / 0.6994 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/0.6188, allocations: 244 kB / 0.6996 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.774/3.393, allocations: 4 kB / 0.6996 GB, free: 10.3 MB / 0.4981 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/linux/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) Environment - environmentSimulation: