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.08389/0.08389, allocations: 12.59 MB / 28.22 MB, free: 0.7695 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.001023/0.001023, allocations: 111.4 kB / 31.84 MB, free: 3.895 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.238/1.238, allocations: 205.1 MB / 240.4 MB, free: 12.39 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.001212/0.001212, allocations: 192.4 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4074/0.4074, allocations: 78.51 MB / 419.3 MB, free: 11.23 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.002549/0.002549, allocations: 136.7 kB / 0.5553 GB, free: 28.95 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.114, allocations: 68.13 MB / 0.6219 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.007865/0.1219, allocations: 8.273 MB / 0.63 GB, free: 7.629 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004567/0.1265, allocations: 2.585 MB / 0.6325 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006407/0.1271, allocations: 12 kB / 0.6325 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006018/0.1277, allocations: 309.4 kB / 0.6328 GB, free: 4.719 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.1311, allocations: 1.535 MB / 0.6343 GB, free: 3.191 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.1322, allocations: 0.6081 MB / 0.6349 GB, free: 2.586 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002762/0.135, allocations: 2.554 MB / 0.6374 GB, free: 28 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000461/0.1355, allocations: 316.8 kB / 0.6377 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.1367, allocations: 1.008 MB / 0.6387 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.1382, allocations: 1.37 MB / 0.64 GB, free: 13.31 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003329/0.1386, allocations: 200 kB / 0.6402 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007179/0.1393, allocations: 383.8 kB / 0.6406 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004417/0.1397, allocations: 0.5215 MB / 0.6411 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008475/0.1406, allocations: 0.9907 MB / 0.642 GB, free: 11.22 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.1429, allocations: 2.368 MB / 0.6443 GB, free: 8.844 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1429, allocations: 0 / 0.6443 GB, free: 8.844 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1429, allocations: 4 kB / 0.6444 GB, free: 8.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.609e-05/0.143, allocations: 4 kB / 0.6444 GB, free: 8.836 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.01863/0.1616, allocations: 4.941 MB / 0.6492 GB, free: 3.832 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1617, allocations: 15.98 kB / 0.6492 GB, free: 3.816 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001566/0.1618, allocations: 135.4 kB / 0.6493 GB, free: 3.676 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003219/0.165, allocations: 0.5759 MB / 0.6499 GB, free: 3.098 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.1668, allocations: 1.22 MB / 0.6511 GB, free: 1.828 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003625/0.1672, allocations: 268.8 kB / 0.6513 GB, free: 1.531 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/0.1674, allocations: 119.8 kB / 0.6515 GB, free: 1.414 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.1694, allocations: 1.096 MB / 0.6525 GB, free: 320 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.1695, allocations: 0 / 0.6525 GB, free: 320 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.14e-05/0.1696, allocations: 28 kB / 0.6525 GB, free: 292 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.1696, allocations: 27.94 kB / 0.6526 GB, free: 264 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.1718, allocations: 1.171 MB / 0.6537 GB, free: 15.08 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.006814/0.1787, allocations: 4.603 MB / 0.6582 GB, free: 10.26 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003087/0.1818, allocations: 2.151 MB / 0.6603 GB, free: 7.926 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.1832, allocations: 0.7895 MB / 0.6611 GB, free: 7.129 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.1833, allocations: 37.22 kB / 0.6611 GB, free: 7.094 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1833, allocations: 43.88 kB / 0.6612 GB, free: 7.039 MB / 478.1 MB Notification: Performance of pre-optimization done (n=130): time 3.276e-06/0.1833, allocations: 0 / 0.6612 GB, free: 7.039 MB / 478.1 MB Notification: Performance of matching and sorting (n=130): time 0.02573/0.2091, allocations: 6.679 MB / 0.6677 GB, free: 336 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.2092, allocations: 68.72 kB / 0.6678 GB, free: 256 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002722/0.2119, allocations: 1.659 MB / 0.6694 GB, free: 14.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002522/0.2122, allocations: 57.7 kB / 0.6694 GB, free: 14.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/0.2126, allocations: 0.5457 MB / 0.67 GB, free: 13.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005367/0.2131, allocations: 0.4971 MB / 0.6704 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008827/0.214, allocations: 0.5171 MB / 0.6709 GB, free: 12.94 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2142, allocations: 301.1 kB / 0.6712 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002186/0.2164, allocations: 1.145 MB / 0.6724 GB, free: 11.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002378/0.2188, allocations: 1.36 MB / 0.6737 GB, free: 10.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004359/0.2231, allocations: 2.338 MB / 0.676 GB, free: 7.727 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.2232, allocations: 0 / 0.676 GB, free: 7.727 MB / 494.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009006/0.2322, allocations: 4.082 MB / 0.68 GB, free: 3.602 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.2322, allocations: 4 kB / 0.68 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.2322, allocations: 3.938 kB / 0.68 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01056/0.2428, allocations: 2.823 MB / 0.6827 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/0.2453, allocations: 483.3 kB / 0.6832 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005524/0.2508, allocations: 2.523 MB / 0.6856 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/0.2535, allocations: 245.8 kB / 0.6859 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000203/0.2537, allocations: 91.95 kB / 0.686 GB, free: 13.4 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.0005752/0.2543, allocations: 313.4 kB / 0.6863 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/0.2546, allocations: 165.8 kB / 0.6864 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/0.2648, allocations: 3.55 MB / 0.6899 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/0.2649, allocations: 16 kB / 0.6899 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.2649, allocations: 3.938 kB / 0.6899 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.2649, allocations: 11.97 kB / 0.6899 GB, free: 9.324 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.01273/0.2776, allocations: 5.647 MB / 0.6954 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.2777, allocations: 0 / 0.6954 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009585/0.2786, allocations: 163.7 kB / 0.6956 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005141/0.2838, allocations: 1.484 MB / 0.697 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/0.2839, allocations: 31.98 kB / 0.6971 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0174/0.3013, allocations: 7.861 MB / 0.7047 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3014, allocations: 0 / 0.7047 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/0.3136, allocations: 4.558 MB / 0.7092 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007661/0.3144, allocations: 298.9 kB / 0.7095 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/0.3147, allocations: 28 kB / 0.7095 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/0.3161, allocations: 79.92 kB / 0.7096 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005815/0.3167, allocations: 189.5 kB / 0.7098 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-05/0.3168, allocations: 32 kB / 0.7098 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001458/0.3182, allocations: 1.094 MB / 0.7109 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.583e-06/0.3182, allocations: 0 / 0.7109 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001384/0.3196, allocations: 0.5971 MB / 0.7114 GB, free: 2.91 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.2324/0.5521, allocations: 5.158 MB / 0.7165 GB, free: 83.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007899/0.56, allocations: 3.008 MB / 0.7194 GB, free: 83.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.56, allocations: 0 / 0.7194 GB, free: 83.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003986/0.564, allocations: 1.528 MB / 0.7209 GB, free: 82.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.5651, allocations: 131.3 kB / 0.721 GB, free: 82.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03328/0.5984, allocations: 18.86 MB / 0.7395 GB, free: 74.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.5989, allocations: 1.235 MB / 0.7407 GB, free: 74 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005012/0.5994, allocations: 164.3 kB / 0.7408 GB, free: 73.96 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007082/0.6001, allocations: 0.6302 MB / 0.7414 GB, free: 73.47 MB / 0.5137 GB Notification: Performance of SimCode: time 6.51e-07/0.6001, allocations: 0 / 0.7414 GB, free: 73.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0601/0.6603, allocations: 45.07 MB / 0.7855 GB, free: 33.01 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/15.68, allocations: 10.89 kB / 0.7855 GB, free: 33 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)