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-master/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-master/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-master/package.mo): time 0.2442/0.2442, allocations: 12.59 MB / 28.23 MB, free: 0.7578 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.0022/0.0022, allocations: 111.4 kB / 31.84 MB, free: 3.883 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.025/3.025, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.003643/0.003643, allocations: 188.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.9434/0.9434, allocations: 78.53 MB / 419.3 MB, free: 11.25 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.006123/0.006123, allocations: 147.2 kB / 0.5554 GB, free: 28.84 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.266, allocations: 68.13 MB / 0.6219 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.02028/0.2863, allocations: 8.269 MB / 0.63 GB, free: 7.629 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.298, allocations: 2.581 MB / 0.6325 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002574/0.3007, allocations: 16 kB / 0.6325 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.3028, allocations: 309.4 kB / 0.6328 GB, free: 4.719 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.3128, allocations: 1.496 MB / 0.6343 GB, free: 3.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002988/0.3159, allocations: 0.6004 MB / 0.6348 GB, free: 2.633 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006968/0.3229, allocations: 2.562 MB / 0.6373 GB, free: 64 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.3242, allocations: 316.8 kB / 0.6376 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00281/0.3271, allocations: 1.004 MB / 0.6386 GB, free: 14.72 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0037/0.3308, allocations: 1.354 MB / 0.64 GB, free: 13.36 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001301/0.3321, allocations: 204 kB / 0.6401 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.3346, allocations: 387.8 kB / 0.6405 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001411/0.336, allocations: 0.5215 MB / 0.641 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003004/0.339, allocations: 0.9907 MB / 0.642 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007068/0.3461, allocations: 2.372 MB / 0.6443 GB, free: 8.887 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.3462, allocations: 0 / 0.6443 GB, free: 8.887 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3462, allocations: 0 / 0.6443 GB, free: 8.887 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.965e-05/0.3463, allocations: 0 / 0.6443 GB, free: 8.887 MB / 462.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.0454/0.3917, allocations: 4.949 MB / 0.6491 GB, free: 3.875 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.763e-05/0.3919, allocations: 15.92 kB / 0.6492 GB, free: 3.859 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007742/0.3927, allocations: 135.4 kB / 0.6493 GB, free: 3.719 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008107/0.4008, allocations: 0.5759 MB / 0.6498 GB, free: 3.141 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005772/0.4067, allocations: 1.216 MB / 0.651 GB, free: 1.875 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008637/0.4076, allocations: 272.8 kB / 0.6513 GB, free: 1.574 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009364/0.4085, allocations: 115.8 kB / 0.6514 GB, free: 1.461 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005714/0.4143, allocations: 1.096 MB / 0.6525 GB, free: 368 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.335e-05/0.4144, allocations: 4 kB / 0.6525 GB, free: 364 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003254/0.4147, allocations: 32 kB / 0.6525 GB, free: 332 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.871e-05/0.4148, allocations: 23.94 kB / 0.6525 GB, free: 308 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004821/0.4196, allocations: 1.175 MB / 0.6537 GB, free: 15.12 MB / 478.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.01802/0.4377, allocations: 4.595 MB / 0.6582 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007216/0.4449, allocations: 2.147 MB / 0.6603 GB, free: 7.977 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003178/0.4482, allocations: 0.7973 MB / 0.661 GB, free: 7.172 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002262/0.4484, allocations: 29.22 kB / 0.6611 GB, free: 7.145 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.4e-05/0.4485, allocations: 43.88 kB / 0.6611 GB, free: 7.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=130): time 7.624e-06/0.4486, allocations: 0 / 0.6611 GB, free: 7.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=130): time 0.05336/0.5019, allocations: 6.683 MB / 0.6676 GB, free: 384 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.221e-05/0.5021, allocations: 68.72 kB / 0.6677 GB, free: 304 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005534/0.5077, allocations: 1.663 MB / 0.6693 GB, free: 14.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000692/0.5084, allocations: 57.7 kB / 0.6694 GB, free: 14.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001145/0.5096, allocations: 0.5497 MB / 0.6699 GB, free: 14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00186/0.5115, allocations: 0.4893 MB / 0.6704 GB, free: 13.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004254/0.5158, allocations: 0.5132 MB / 0.6709 GB, free: 12.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.516, allocations: 301.1 kB / 0.6712 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004755/0.5208, allocations: 1.145 MB / 0.6723 GB, free: 11.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005023/0.5258, allocations: 1.36 MB / 0.6736 GB, free: 10.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009602/0.5355, allocations: 2.342 MB / 0.6759 GB, free: 7.773 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-05/0.5356, allocations: 0 / 0.6759 GB, free: 7.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.02559/0.5612, allocations: 4.086 MB / 0.6799 GB, free: 3.645 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.779e-05/0.5613, allocations: 8 kB / 0.6799 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.03e-05/0.5614, allocations: 0 / 0.6799 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0227/0.5841, allocations: 2.823 MB / 0.6827 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005146/0.5894, allocations: 487.3 kB / 0.6831 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/0.6027, allocations: 2.519 MB / 0.6856 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006741/0.6096, allocations: 253.7 kB / 0.6858 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001328/0.611, allocations: 91.97 kB / 0.6859 GB, free: 13.44 MB / 0.4981 GB 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.00235/0.6134, allocations: 305.4 kB / 0.6862 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001287/0.6147, allocations: 165.8 kB / 0.6864 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0236/0.6383, allocations: 3.554 MB / 0.6899 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.243e-05/0.6385, allocations: 16 kB / 0.6899 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-05/0.6385, allocations: 0 / 0.6899 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.649e-05/0.6386, allocations: 11.91 kB / 0.6899 GB, free: 9.367 MB / 0.4981 GB 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.02649/0.6651, allocations: 5.647 MB / 0.6954 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.311e-05/0.6653, allocations: 0 / 0.6954 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002019/0.6673, allocations: 167.7 kB / 0.6956 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009617/0.677, allocations: 1.484 MB / 0.697 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005559/0.6776, allocations: 28 kB / 0.697 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03957/0.7172, allocations: 7.857 MB / 0.7047 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-05/0.7173, allocations: 7.984 kB / 0.7047 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02866/0.746, allocations: 4.558 MB / 0.7092 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/0.748, allocations: 298.9 kB / 0.7094 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001256/0.7493, allocations: 28 kB / 0.7095 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004043/0.7534, allocations: 71.92 kB / 0.7095 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001588/0.7551, allocations: 193.5 kB / 0.7097 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003933/0.7555, allocations: 35.98 kB / 0.7098 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004719/0.7602, allocations: 1.094 MB / 0.7108 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.382e-06/0.7603, allocations: 0 / 0.7108 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005565/0.7659, allocations: 0.601 MB / 0.7114 GB, free: 2.949 MB / 0.5137 GB 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.8135/1.579, allocations: 5.154 MB / 0.7164 GB, free: 83.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01916/1.599, allocations: 3.004 MB / 0.7194 GB, free: 83.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/1.599, allocations: 0 / 0.7194 GB, free: 83.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00904/1.608, allocations: 1.521 MB / 0.7209 GB, free: 82.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/1.611, allocations: 128.6 kB / 0.721 GB, free: 82.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0899/1.701, allocations: 18.88 MB / 0.7394 GB, free: 74.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002033/1.703, allocations: 1.234 MB / 0.7406 GB, free: 73.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002245/1.705, allocations: 164.7 kB / 0.7408 GB, free: 73.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002275/1.707, allocations: 0.6284 MB / 0.7414 GB, free: 73.38 MB / 0.5137 GB Notification: Performance of SimCode: time 2.725e-06/1.707, allocations: 0 / 0.7414 GB, free: 73.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2437/1.951, allocations: 47.02 MB / 0.7873 GB, free: 31.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.42/34.37, allocations: 11.34 kB / 0.7873 GB, free: 31.09 MB / 0.5137 GB (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)