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.001631/0.001632, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.403/1.403, allocations: 222.9 MB / 239 MB, free: 4.715 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.001397/0.001397, allocations: 196.5 kB / 289.3 MB, free: 2.445 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5332/0.5332, allocations: 91.89 MB / 431.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001837, allocations: 83.88 kB / 0.5015 GB, free: 7.949 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3659, allocations: 71.26 MB / 0.5711 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.006829/0.3728, allocations: 8.479 MB / 0.5794 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00503/0.3779, allocations: 2.64 MB / 0.5819 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.3795, allocations: 11.38 kB / 0.582 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008791/0.3804, allocations: 229 kB / 0.5822 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00306/0.3835, allocations: 1.016 MB / 0.5832 GB, free: 28.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.385, allocations: 0.6435 MB / 0.5838 GB, free: 28.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002954/0.3879, allocations: 2.359 MB / 0.5861 GB, free: 27.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007226/0.3887, allocations: 324.7 kB / 0.5864 GB, free: 27.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.3904, allocations: 0.9445 MB / 0.5873 GB, free: 26.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.3925, allocations: 1.309 MB / 0.5886 GB, free: 26.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009501/0.3935, allocations: 207 kB / 0.5888 GB, free: 26.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.3951, allocations: 383.6 kB / 0.5892 GB, free: 26.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007817/0.3959, allocations: 0.4996 MB / 0.5897 GB, free: 25.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.3973, allocations: 0.9776 MB / 0.5906 GB, free: 25.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002733/0.4001, allocations: 2.295 MB / 0.5929 GB, free: 24.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.4001, allocations: 1.219 kB / 0.5929 GB, free: 24.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.4001, allocations: 0 / 0.5929 GB, free: 24.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.184e-05/0.4002, allocations: 0 / 0.5929 GB, free: 24.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.01709/0.4173, allocations: 4.104 MB / 0.5969 GB, free: 22.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.4174, allocations: 9.25 kB / 0.5969 GB, free: 22.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002082/0.4176, allocations: 139.9 kB / 0.597 GB, free: 22.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003893/0.4215, allocations: 0.5806 MB / 0.5976 GB, free: 22.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/0.4238, allocations: 1.214 MB / 0.5988 GB, free: 21.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002482/0.4241, allocations: 267.6 kB / 0.599 GB, free: 21.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002368/0.4243, allocations: 113.5 kB / 0.5991 GB, free: 21.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.4265, allocations: 1.088 MB / 0.6002 GB, free: 20.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.4266, allocations: 4.75 kB / 0.6002 GB, free: 20.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.727e-05/0.4267, allocations: 39.69 kB / 0.6002 GB, free: 20.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.4267, allocations: 24.25 kB / 0.6003 GB, free: 20.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/0.4291, allocations: 1.179 MB / 0.6014 GB, free: 20.43 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.008431/0.4375, allocations: 4.621 MB / 0.6059 GB, free: 17.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003019/0.4406, allocations: 2.145 MB / 0.608 GB, free: 16.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.442, allocations: 0.7975 MB / 0.6088 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.4422, allocations: 30.88 kB / 0.6088 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.4422, allocations: 44.72 kB / 0.6089 GB, free: 15.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.136e-06/0.4422, allocations: 0 / 0.6089 GB, free: 15.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.0272/0.4694, allocations: 6.682 MB / 0.6154 GB, free: 14.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.4695, allocations: 76.48 kB / 0.6155 GB, free: 14.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00247/0.472, allocations: 1.657 MB / 0.6171 GB, free: 13.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004184/0.4724, allocations: 57.64 kB / 0.6171 GB, free: 13.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.4727, allocations: 0.5495 MB / 0.6177 GB, free: 12.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004921/0.4732, allocations: 0.4926 MB / 0.6182 GB, free: 12.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008363/0.4741, allocations: 0.5106 MB / 0.6186 GB, free: 11.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.414e-05/0.4741, allocations: 302.3 kB / 0.6189 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002038/0.4762, allocations: 1.152 MB / 0.6201 GB, free: 11.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002224/0.4784, allocations: 1.354 MB / 0.6214 GB, free: 10.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003637/0.4821, allocations: 2.347 MB / 0.6237 GB, free: 8.262 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.4821, allocations: 3.984 kB / 0.6237 GB, free: 8.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.007765/0.4899, allocations: 4.078 MB / 0.6277 GB, free: 4.141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.4899, allocations: 8 kB / 0.6277 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.4899, allocations: 3.984 kB / 0.6277 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009661/0.4996, allocations: 2.835 MB / 0.6304 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/0.502, allocations: 483.3 kB / 0.6309 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005687/0.5077, allocations: 2.523 MB / 0.6334 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003663/0.5114, allocations: 241.9 kB / 0.6336 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005346/0.512, allocations: 95.97 kB / 0.6337 GB, free: 13.93 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.00115/0.5132, allocations: 313.3 kB / 0.634 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007555/0.5139, allocations: 165.8 kB / 0.6341 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/0.5252, allocations: 3.55 MB / 0.6376 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.692e-05/0.5253, allocations: 16 kB / 0.6376 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.5253, allocations: 0 / 0.6376 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.484e-05/0.5253, allocations: 7.969 kB / 0.6376 GB, free: 9.859 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.01566/0.541, allocations: 5.673 MB / 0.6432 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/0.541, allocations: 0 / 0.6432 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.5423, allocations: 163.8 kB / 0.6433 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005594/0.5479, allocations: 1.488 MB / 0.6448 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003702/0.5483, allocations: 24 kB / 0.6448 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0193/0.5676, allocations: 7.857 MB / 0.6525 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5677, allocations: 0 / 0.6525 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01363/0.5813, allocations: 4.57 MB / 0.6569 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.5824, allocations: 302.7 kB / 0.6572 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009171/0.5834, allocations: 24 kB / 0.6573 GB, free: 5.395 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002295/0.5857, allocations: 79.92 kB / 0.6573 GB, free: 5.316 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008119/0.5865, allocations: 185.5 kB / 0.6575 GB, free: 5.137 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002147/0.5867, allocations: 43.98 kB / 0.6576 GB, free: 5.094 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002051/0.5888, allocations: 1.086 MB / 0.6586 GB, free: 4.012 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5888, allocations: 0 / 0.6586 GB, free: 4.012 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002862/0.5917, allocations: 0.601 MB / 0.6592 GB, free: 3.41 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.01415/0.6058, allocations: 5.16 MB / 0.6642 GB, free: 14.21 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01007/0.616, allocations: 3.053 MB / 0.6672 GB, free: 11.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.616, allocations: 3.938 kB / 0.6672 GB, free: 11.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005004/0.621, allocations: 1.524 MB / 0.6687 GB, free: 9.617 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/0.6236, allocations: 129.6 kB / 0.6688 GB, free: 9.488 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04851/0.6721, allocations: 20.79 MB / 0.6891 GB, free: 3.738 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.6732, allocations: 1.242 MB / 0.6904 GB, free: 2.465 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001112/0.6743, allocations: 155.2 kB / 0.6905 GB, free: 2.309 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/0.6756, allocations: 0.636 MB / 0.6911 GB, free: 1.672 MB / 494.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6757, allocations: 0 / 0.6911 GB, free: 1.672 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07925/0.7549, allocations: 43.7 MB / 0.7338 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.7552, allocations: 256.8 kB / 0.734 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.46/4.215, allocations: 4.062 kB / 0.734 GB, free: 5.953 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)