Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.Aggregated_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_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.001215/0.001215, allocations: 108 kB / 15.61 MB, free: 152 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.357/1.357, allocations: 222.9 MB / 239.3 MB, free: 4.59 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.001498/0.001498, allocations: 192.5 kB / 289.6 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5153/0.5153, allocations: 91.9 MB / 431.6 MB, free: 9.281 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 83.88 kB / 0.502 GB, free: 7.641 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3992, allocations: 71.26 MB / 0.5716 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.005869/0.4051, allocations: 6.19 MB / 0.5776 GB, free: 33.13 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003702/0.4089, allocations: 2.117 MB / 0.5797 GB, free: 31.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006919/0.4096, allocations: 12.78 kB / 0.5797 GB, free: 31.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000581/0.4102, allocations: 227.2 kB / 0.5799 GB, free: 31.58 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.4124, allocations: 0.8919 MB / 0.5808 GB, free: 31.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.4136, allocations: 0.5697 MB / 0.5813 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.4153, allocations: 1.66 MB / 0.583 GB, free: 29.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003406/0.4157, allocations: 205.6 kB / 0.5832 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006449/0.4163, allocations: 0.6723 MB / 0.5838 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007879/0.4171, allocations: 0.9167 MB / 0.5847 GB, free: 29.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.4173, allocations: 147.8 kB / 0.5849 GB, free: 29.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005481/0.4179, allocations: 321 kB / 0.5852 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.4181, allocations: 366.7 kB / 0.5855 GB, free: 28.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004362/0.4186, allocations: 0.6726 MB / 0.5862 GB, free: 28.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.42, allocations: 1.671 MB / 0.5878 GB, free: 27.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.42, allocations: 8.25 kB / 0.5878 GB, free: 27.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.42, allocations: 0 / 0.5878 GB, free: 27.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.095e-05/0.42, allocations: 0 / 0.5878 GB, free: 27.67 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01215/0.4322, allocations: 3.144 MB / 0.5909 GB, free: 26.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.4323, allocations: 10.47 kB / 0.5909 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.4324, allocations: 115.7 kB / 0.591 GB, free: 26.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003109/0.4355, allocations: 495.3 kB / 0.5915 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.437, allocations: 0.9009 MB / 0.5923 GB, free: 25.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.4372, allocations: 227.8 kB / 0.5926 GB, free: 25.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.4374, allocations: 81.34 kB / 0.5926 GB, free: 25.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.4392, allocations: 0.8887 MB / 0.5935 GB, free: 25.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.4393, allocations: 4 kB / 0.5935 GB, free: 25.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.221e-05/0.4393, allocations: 28.94 kB / 0.5935 GB, free: 25.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.4394, allocations: 14.81 kB / 0.5936 GB, free: 25.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.4417, allocations: 0.9853 MB / 0.5945 GB, free: 24.77 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.005484/0.4472, allocations: 2.937 MB / 0.5974 GB, free: 23.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/0.4501, allocations: 1.1 MB / 0.5985 GB, free: 22.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.4515, allocations: 0.6602 MB / 0.5991 GB, free: 22.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.573e-05/0.4516, allocations: 21.59 kB / 0.5991 GB, free: 22.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.4517, allocations: 43.95 kB / 0.5992 GB, free: 22.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.787e-06/0.4517, allocations: 0 / 0.5992 GB, free: 22.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.028/0.4797, allocations: 6.483 MB / 0.6055 GB, free: 21.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.4798, allocations: 60.94 kB / 0.6056 GB, free: 21.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/0.4819, allocations: 1.14 MB / 0.6067 GB, free: 20.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002955/0.4822, allocations: 55.59 kB / 0.6067 GB, free: 20.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/0.4825, allocations: 384.8 kB / 0.6071 GB, free: 20.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004523/0.483, allocations: 368.6 kB / 0.6074 GB, free: 20 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000726/0.4837, allocations: 368.1 kB / 0.6078 GB, free: 19.83 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.97e-05/0.4838, allocations: 307.1 kB / 0.6081 GB, free: 19.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002213/0.486, allocations: 0.9069 MB / 0.609 GB, free: 19.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/0.4881, allocations: 0.9355 MB / 0.6099 GB, free: 18.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003955/0.4921, allocations: 1.808 MB / 0.6117 GB, free: 18.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.4921, allocations: 0 / 0.6117 GB, free: 18.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007713/0.4998, allocations: 3.052 MB / 0.6146 GB, free: 16.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.4999, allocations: 5.75 kB / 0.6146 GB, free: 16.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.4999, allocations: 0 / 0.6146 GB, free: 16.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00921/0.5091, allocations: 2.277 MB / 0.6169 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.5109, allocations: 321.7 kB / 0.6172 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004702/0.5157, allocations: 2.269 MB / 0.6194 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002309/0.518, allocations: 198.5 kB / 0.6196 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.5181, allocations: 63.98 kB / 0.6196 GB, free: 13.08 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (189): * Single equations (assignments): 188 * 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 {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0004911/0.5186, allocations: 241.6 kB / 0.6199 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.5188, allocations: 122.4 kB / 0.62 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/0.5289, allocations: 3.301 MB / 0.6232 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.529, allocations: 15.92 kB / 0.6232 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.529, allocations: 3.938 kB / 0.6232 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.529, allocations: 3.984 kB / 0.6232 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.5305, allocations: 1.21 MB / 0.6244 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.5305, allocations: 0 / 0.6244 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006368/0.5311, allocations: 119.8 kB / 0.6245 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004901/0.536, allocations: 1.446 MB / 0.6259 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.931e-05/0.5361, allocations: 20 kB / 0.626 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0172/0.5534, allocations: 7.827 MB / 0.6336 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5534, allocations: 0 / 0.6336 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/0.5658, allocations: 4.139 MB / 0.6376 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005492/0.5663, allocations: 231.4 kB / 0.6379 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.5665, allocations: 20 kB / 0.6379 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.5678, allocations: 79.91 kB / 0.638 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005286/0.5683, allocations: 180.7 kB / 0.6381 GB, free: 9.871 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-05/0.5684, allocations: 31.98 kB / 0.6382 GB, free: 9.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001077/0.5695, allocations: 0.7602 MB / 0.6389 GB, free: 9.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5695, allocations: 0 / 0.6389 GB, free: 9.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001261/0.5707, allocations: 439.7 kB / 0.6393 GB, free: 8.641 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.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 (62): * Single equations (assignments): 61 * 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 {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01229/0.583, allocations: 4.612 MB / 0.6438 GB, free: 3.996 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007395/0.5905, allocations: 2.39 MB / 0.6462 GB, free: 1.605 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5905, allocations: 0 / 0.6462 GB, free: 1.605 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004208/0.5947, allocations: 1.309 MB / 0.6474 GB, free: 288 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.5958, allocations: 88.3 kB / 0.6475 GB, free: 196 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02501/0.6209, allocations: 13.98 MB / 0.6612 GB, free: 1.871 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006352/0.6215, allocations: 1.057 MB / 0.6622 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005344/0.6221, allocations: 107.6 kB / 0.6623 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006208/0.6227, allocations: 427.3 kB / 0.6627 GB, free: 268 kB / 462.1 MB Notification: Performance of SimCode: time 7.51e-07/0.6227, allocations: 0 / 0.6627 GB, free: 268 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06765/0.6904, allocations: 33.35 MB / 0.6953 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.69, allocations: 6.656 kB / 0.6953 GB, free: 15.11 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)