Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0/package.mo): time 0.111/0.111, allocations: 12.2 MB / 27.43 MB, free: 0.8906 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 111.4 kB / 30.94 MB, free: 4.43 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.1 MB / 239.4 MB, free: 12.87 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 184.5 kB / 289.6 MB, free: 11.7 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5804/0.5804, allocations: 78.51 MB / 418.1 MB, free: 11.49 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003433/0.003433, allocations: 131.8 kB / 498.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5336/0.537, allocations: 68.03 MB / 0.5533 GB, free: 22.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.008997/0.5461, allocations: 8.528 MB / 0.5616 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006286/0.5524, allocations: 2.605 MB / 0.5641 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.5536, allocations: 15.94 kB / 0.5642 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.5546, allocations: 238.5 kB / 0.5644 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00433/0.559, allocations: 1.356 MB / 0.5657 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.5603, allocations: 0.5536 MB / 0.5663 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002767/0.5631, allocations: 2.55 MB / 0.5687 GB, free: 6.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005187/0.5637, allocations: 316.8 kB / 0.569 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.5647, allocations: 0.9924 MB / 0.57 GB, free: 4.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.5658, allocations: 1.362 MB / 0.5713 GB, free: 3.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002268/0.566, allocations: 204 kB / 0.5715 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006284/0.5666, allocations: 379.8 kB / 0.5719 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003577/0.567, allocations: 0.5215 MB / 0.5724 GB, free: 2.367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007073/0.5677, allocations: 0.9946 MB / 0.5734 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.5701, allocations: 2.336 MB / 0.5757 GB, free: 15.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.5701, allocations: 0 / 0.5757 GB, free: 15.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.5701, allocations: 0 / 0.5757 GB, free: 15.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.241e-05/0.5701, allocations: 0 / 0.5757 GB, free: 15.02 MB / 398.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.0228/0.5929, allocations: 4.945 MB / 0.5805 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.698e-05/0.5931, allocations: 11.98 kB / 0.5805 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003107/0.5934, allocations: 135.4 kB / 0.5806 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003813/0.5972, allocations: 0.5797 MB / 0.5812 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/0.5997, allocations: 1.22 MB / 0.5824 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003881/0.6001, allocations: 272.8 kB / 0.5826 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/0.6004, allocations: 123.9 kB / 0.5828 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.603, allocations: 1.089 MB / 0.5838 GB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.603, allocations: 0 / 0.5838 GB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.6032, allocations: 32 kB / 0.5839 GB, free: 6.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.6032, allocations: 23.94 kB / 0.5839 GB, free: 6.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002624/0.6058, allocations: 1.175 MB / 0.585 GB, free: 5.266 MB / 398.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.009065/0.6149, allocations: 4.622 MB / 0.5895 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003885/0.6188, allocations: 2.145 MB / 0.5916 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.6204, allocations: 0.7895 MB / 0.5924 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.6206, allocations: 33.08 kB / 0.5924 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.6207, allocations: 43.88 kB / 0.5925 GB, free: 13.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 2.895e-06/0.6207, allocations: 8 kB / 0.5925 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=130): time 0.02877/0.6495, allocations: 6.687 MB / 0.599 GB, free: 6.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.322e-05/0.6496, allocations: 64.72 kB / 0.5991 GB, free: 6.406 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004705/0.6543, allocations: 1.655 MB / 0.6007 GB, free: 4.742 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005474/0.6549, allocations: 57.7 kB / 0.6008 GB, free: 4.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009417/0.6559, allocations: 0.5496 MB / 0.6013 GB, free: 4.121 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001046/0.6569, allocations: 0.4932 MB / 0.6018 GB, free: 3.621 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002092/0.659, allocations: 0.5133 MB / 0.6023 GB, free: 3.102 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6592, allocations: 305.1 kB / 0.6026 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003031/0.6622, allocations: 1.145 MB / 0.6037 GB, free: 1.652 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00303/0.6653, allocations: 1.364 MB / 0.605 GB, free: 268 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005984/0.6713, allocations: 2.338 MB / 0.6073 GB, free: 13.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.292e-05/0.6713, allocations: 0 / 0.6073 GB, free: 13.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01171/0.683, allocations: 4.082 MB / 0.6113 GB, free: 9.762 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.6831, allocations: 4 kB / 0.6113 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.6831, allocations: 4 kB / 0.6113 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01234/0.6955, allocations: 2.842 MB / 0.6141 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002995/0.6985, allocations: 479.3 kB / 0.6145 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007055/0.7056, allocations: 2.528 MB / 0.617 GB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004258/0.7099, allocations: 245.9 kB / 0.6172 GB, free: 3.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000728/0.7106, allocations: 91.95 kB / 0.6173 GB, free: 3.551 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 (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.001677/0.7123, allocations: 309.3 kB / 0.6176 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/0.7134, allocations: 169.8 kB / 0.6178 GB, free: 3.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/0.7255, allocations: 3.554 MB / 0.6212 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.881e-05/0.7256, allocations: 15.94 kB / 0.6213 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.326e-05/0.7256, allocations: 4 kB / 0.6213 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.74e-05/0.7257, allocations: 3.984 kB / 0.6213 GB, free: 15.47 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.0169/0.7426, allocations: 5.655 MB / 0.6268 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.7426, allocations: 4 kB / 0.6268 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.7438, allocations: 171.7 kB / 0.627 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00576/0.7496, allocations: 1.484 MB / 0.6284 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001969/0.7498, allocations: 35.98 kB / 0.6284 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02178/0.7716, allocations: 7.849 MB / 0.6361 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.7717, allocations: 0 / 0.6361 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01471/0.7864, allocations: 4.56 MB / 0.6406 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.7877, allocations: 302.7 kB / 0.6408 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000836/0.7885, allocations: 24 kB / 0.6409 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002301/0.7908, allocations: 75.92 kB / 0.6409 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008613/0.7917, allocations: 197.5 kB / 0.6411 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/0.7919, allocations: 35.98 kB / 0.6412 GB, free: 10.74 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002991/0.7949, allocations: 1.098 MB / 0.6422 GB, free: 9.645 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.346e-06/0.7949, allocations: 0 / 0.6422 GB, free: 9.645 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003401/0.7983, allocations: 0.5932 MB / 0.6428 GB, free: 9.051 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.01508/0.8134, allocations: 5.165 MB / 0.6479 GB, free: 3.848 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01083/0.8243, allocations: 3.038 MB / 0.6508 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.8244, allocations: 0 / 0.6508 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005188/0.8296, allocations: 1.528 MB / 0.6523 GB, free: 15.27 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/0.8321, allocations: 129.6 kB / 0.6524 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05489/0.887, allocations: 20.79 MB / 0.6727 GB, free: 9.387 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001744/0.8888, allocations: 1.234 MB / 0.674 GB, free: 8.121 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001283/0.8902, allocations: 171.2 kB / 0.6741 GB, free: 7.949 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001738/0.8919, allocations: 0.6321 MB / 0.6747 GB, free: 7.316 MB / 494.1 MB Notification: Performance of SimCode: time 2.034e-06/0.8919, allocations: 0 / 0.6747 GB, free: 7.316 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5001/1.392, allocations: 43.7 MB / 0.7174 GB, free: 95.91 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/1.392, allocations: 258.4 kB / 0.7177 GB, free: 95.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.206/5.599, allocations: 0 / 0.7177 GB, free: 95.6 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)