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.008219/0.008219, allocations: 99.53 kB / 15.73 MB, free: 6.477 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.382/1.382, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001525/0.001525, allocations: 195.7 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5462/0.5462, allocations: 91.91 MB / 431.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 90.08 kB / 0.5722 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1386, allocations: 71.28 MB / 0.6418 GB, free: 4.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.009243/0.1479, allocations: 8.239 MB / 0.6499 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005863/0.1538, allocations: 2.612 MB / 0.6524 GB, free: 9.223 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.1556, allocations: 8 kB / 0.6524 GB, free: 9.215 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.1568, allocations: 313.4 kB / 0.6527 GB, free: 8.906 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004107/0.161, allocations: 1.141 MB / 0.6538 GB, free: 7.762 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.1629, allocations: 0.6912 MB / 0.6545 GB, free: 7.074 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003653/0.1666, allocations: 2.371 MB / 0.6568 GB, free: 4.695 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007103/0.1673, allocations: 311.7 kB / 0.6571 GB, free: 4.375 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.169, allocations: 0.9534 MB / 0.6581 GB, free: 3.418 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.1714, allocations: 1.327 MB / 0.6594 GB, free: 2.086 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008826/0.1723, allocations: 203.9 kB / 0.6596 GB, free: 1.887 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.1738, allocations: 387.8 kB / 0.6599 GB, free: 1.508 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000806/0.1746, allocations: 0.502 MB / 0.6604 GB, free: 1.004 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001646/0.1762, allocations: 0.9674 MB / 0.6614 GB, free: 32 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003483/0.1797, allocations: 2.325 MB / 0.6636 GB, free: 13.7 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1797, allocations: 0 / 0.6636 GB, free: 13.7 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1798, allocations: 4 kB / 0.6636 GB, free: 13.7 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.706e-05/0.1799, allocations: 0 / 0.6636 GB, free: 13.7 MB / 478.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.01712/0.197, allocations: 4.09 MB / 0.6676 GB, free: 9.547 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.1971, allocations: 15.97 kB / 0.6676 GB, free: 9.531 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004004/0.1975, allocations: 135.4 kB / 0.6678 GB, free: 9.391 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003926/0.2014, allocations: 0.5758 MB / 0.6683 GB, free: 8.812 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.2041, allocations: 1.22 MB / 0.6695 GB, free: 7.543 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003166/0.2044, allocations: 272.8 kB / 0.6698 GB, free: 7.238 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003879/0.2048, allocations: 112 kB / 0.6699 GB, free: 7.129 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/0.2074, allocations: 1.093 MB / 0.671 GB, free: 6.027 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.2075, allocations: 3.984 kB / 0.671 GB, free: 6.023 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.2076, allocations: 36 kB / 0.671 GB, free: 5.988 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.2076, allocations: 23.94 kB / 0.671 GB, free: 5.965 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/0.2102, allocations: 1.171 MB / 0.6722 GB, free: 4.797 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.008612/0.2188, allocations: 4.618 MB / 0.6767 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003353/0.2222, allocations: 2.135 MB / 0.6788 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.2237, allocations: 0.7934 MB / 0.6795 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.2238, allocations: 21.28 kB / 0.6796 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.2239, allocations: 47.88 kB / 0.6796 GB, free: 12.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 4.118e-06/0.2239, allocations: 0 / 0.6796 GB, free: 12.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=130): time 0.02736/0.2513, allocations: 6.695 MB / 0.6861 GB, free: 6.023 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.2514, allocations: 68.72 kB / 0.6862 GB, free: 5.945 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003158/0.2545, allocations: 1.655 MB / 0.6878 GB, free: 4.281 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003718/0.2549, allocations: 57.7 kB / 0.6879 GB, free: 4.219 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006231/0.2556, allocations: 0.5535 MB / 0.6884 GB, free: 3.656 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007257/0.2563, allocations: 0.4932 MB / 0.6889 GB, free: 3.156 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001524/0.2578, allocations: 0.5094 MB / 0.6894 GB, free: 2.641 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.258, allocations: 305.1 kB / 0.6897 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00248/0.2604, allocations: 1.142 MB / 0.6908 GB, free: 1.195 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002635/0.2631, allocations: 1.356 MB / 0.6921 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004636/0.2677, allocations: 2.346 MB / 0.6944 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.2678, allocations: 0 / 0.6944 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009739/0.2775, allocations: 4.082 MB / 0.6984 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.2776, allocations: 7.984 kB / 0.6984 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.2776, allocations: 7.938 kB / 0.6984 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01105/0.2887, allocations: 2.819 MB / 0.7012 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/0.2911, allocations: 475.3 kB / 0.7016 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00594/0.2971, allocations: 2.527 MB / 0.7041 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003243/0.3003, allocations: 245.8 kB / 0.7043 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00048/0.3008, allocations: 99.95 kB / 0.7044 GB, free: 3.102 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.0009635/0.3018, allocations: 305.3 kB / 0.7047 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005765/0.3024, allocations: 165.8 kB / 0.7049 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/0.3138, allocations: 3.562 MB / 0.7084 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/0.3138, allocations: 12 kB / 0.7084 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.3139, allocations: 0 / 0.7084 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.74e-05/0.3139, allocations: 7.969 kB / 0.7084 GB, free: 15.03 MB / 0.5137 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.01497/0.3289, allocations: 5.646 MB / 0.7139 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.3289, allocations: 0 / 0.7139 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.3301, allocations: 159.8 kB / 0.714 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005652/0.3357, allocations: 1.488 MB / 0.7155 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002399/0.336, allocations: 31.98 kB / 0.7155 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02007/0.3561, allocations: 7.845 MB / 0.7232 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3561, allocations: 0 / 0.7232 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0141/0.3702, allocations: 4.562 MB / 0.7276 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008415/0.3711, allocations: 306.8 kB / 0.7279 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006986/0.3719, allocations: 24 kB / 0.728 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/0.374, allocations: 79.92 kB / 0.728 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008004/0.3748, allocations: 185.5 kB / 0.7282 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001848/0.375, allocations: 36 kB / 0.7282 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002246/0.3773, allocations: 1.094 MB / 0.7293 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3773, allocations: 0 / 0.7293 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002578/0.3799, allocations: 0.601 MB / 0.7299 GB, free: 8.617 MB / 0.5294 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.01428/0.3942, allocations: 5.163 MB / 0.7349 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009267/0.4035, allocations: 3.007 MB / 0.7379 GB, free: 420 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.4035, allocations: 4 kB / 0.7379 GB, free: 416 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005051/0.4086, allocations: 1.539 MB / 0.7394 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.4108, allocations: 132 kB / 0.7395 GB, free: 14.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04386/0.4547, allocations: 18.85 MB / 0.7579 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.4558, allocations: 1.23 MB / 0.7591 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008907/0.4567, allocations: 163.2 kB / 0.7593 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/0.4579, allocations: 0.6321 MB / 0.7599 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/0.4579, allocations: 0 / 0.7599 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3985/0.8565, allocations: 47 MB / 0.8058 GB, free: 96.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.15/16, allocations: 6.25 kB / 0.8058 GB, free: 96.58 MB / 0.5606 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)