Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.Aggregated_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1291/0.1291, allocations: 12.59 MB / 28.22 MB, free: 0.7383 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.001181/0.001181, allocations: 111.4 kB / 31.84 MB, free: 3.879 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.462/1.462, allocations: 205.1 MB / 240.4 MB, free: 12.35 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.001615/0.001614, allocations: 184.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.4735/0.4735, 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.002994/0.002994, allocations: 147.4 kB / 0.5554 GB, free: 28.68 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1527, allocations: 68.13 MB / 0.6219 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.008097/0.1609, allocations: 6.179 MB / 0.6279 GB, free: 9.734 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00545/0.1664, allocations: 2.173 MB / 0.63 GB, free: 7.555 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.1678, allocations: 8 kB / 0.6301 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009784/0.1688, allocations: 234.1 kB / 0.6303 GB, free: 7.316 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003935/0.1728, allocations: 1.216 MB / 0.6315 GB, free: 6.109 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.1741, allocations: 479 kB / 0.6319 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002801/0.1769, allocations: 1.84 MB / 0.6337 GB, free: 3.801 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005285/0.1774, allocations: 211.6 kB / 0.6339 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.1788, allocations: 0.7084 MB / 0.6346 GB, free: 2.867 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.1804, allocations: 0.9573 MB / 0.6355 GB, free: 1.906 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005624/0.181, allocations: 148 kB / 0.6357 GB, free: 1.762 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009782/0.182, allocations: 319.8 kB / 0.636 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006045/0.1826, allocations: 370.7 kB / 0.6363 GB, free: 1.086 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.1838, allocations: 0.6916 MB / 0.637 GB, free: 400 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002573/0.1864, allocations: 1.728 MB / 0.6387 GB, free: 14.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1864, allocations: 0 / 0.6387 GB, free: 14.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1864, allocations: 0 / 0.6387 GB, free: 14.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.291e-05/0.1865, allocations: 0 / 0.6387 GB, free: 14.66 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01651/0.203, allocations: 3.753 MB / 0.6424 GB, free: 10.85 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.252e-05/0.2031, allocations: 15.98 kB / 0.6424 GB, free: 10.83 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003513/0.2035, allocations: 106.7 kB / 0.6425 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003424/0.2069, allocations: 0.5074 MB / 0.643 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.2089, allocations: 0.8916 MB / 0.6439 GB, free: 9.266 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002951/0.2092, allocations: 230.2 kB / 0.6441 GB, free: 9.008 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.2094, allocations: 87.98 kB / 0.6442 GB, free: 8.922 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.2114, allocations: 0.8886 MB / 0.645 GB, free: 8.027 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.2114, allocations: 0 / 0.645 GB, free: 8.027 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.494e-05/0.2115, allocations: 24 kB / 0.645 GB, free: 8.004 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.2115, allocations: 16 kB / 0.6451 GB, free: 7.988 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/0.2137, allocations: 0.9889 MB / 0.646 GB, free: 7 MB / 462.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.004831/0.2186, allocations: 2.927 MB / 0.6489 GB, free: 3.941 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002841/0.2214, allocations: 1.101 MB / 0.65 GB, free: 2.832 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/0.2228, allocations: 0.6636 MB / 0.6506 GB, free: 2.164 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.641e-05/0.2229, allocations: 16.98 kB / 0.6506 GB, free: 2.145 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.2229, allocations: 43.56 kB / 0.6507 GB, free: 2.094 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 2.525e-06/0.2229, allocations: 0 / 0.6507 GB, free: 2.094 MB / 462.1 MB Notification: Performance of matching and sorting (n=94): time 0.02677/0.2497, allocations: 6.478 MB / 0.657 GB, free: 11.58 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.2498, allocations: 60.41 kB / 0.6571 GB, free: 11.51 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/0.252, allocations: 1.148 MB / 0.6582 GB, free: 10.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003237/0.2524, allocations: 49.7 kB / 0.6582 GB, free: 10.29 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004592/0.2528, allocations: 394.3 kB / 0.6586 GB, free: 9.895 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006015/0.2535, allocations: 380.8 kB / 0.659 GB, free: 9.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/0.2546, allocations: 371.4 kB / 0.6593 GB, free: 9.148 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2548, allocations: 305.1 kB / 0.6596 GB, free: 8.848 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/0.257, allocations: 0.9097 MB / 0.6605 GB, free: 7.938 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002139/0.2591, allocations: 0.9428 MB / 0.6614 GB, free: 6.996 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003988/0.2631, allocations: 1.813 MB / 0.6632 GB, free: 5.184 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.2631, allocations: 0 / 0.6632 GB, free: 5.184 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007518/0.2707, allocations: 3.048 MB / 0.6662 GB, free: 2.121 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.2707, allocations: 4 kB / 0.6662 GB, free: 2.117 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.2707, allocations: 3.938 kB / 0.6662 GB, free: 2.113 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009217/0.28, allocations: 2.268 MB / 0.6684 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.2817, allocations: 327.6 kB / 0.6687 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005533/0.2872, allocations: 2.284 MB / 0.6709 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/0.2896, allocations: 194.9 kB / 0.6711 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002975/0.2899, allocations: 59.98 kB / 0.6712 GB, free: 12.96 MB / 494.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.0007049/0.2906, allocations: 241.6 kB / 0.6714 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004322/0.291, allocations: 131.1 kB / 0.6715 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/0.3023, allocations: 3.301 MB / 0.6748 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.3024, allocations: 19.94 kB / 0.6748 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3024, allocations: 0 / 0.6748 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.3024, allocations: 3.984 kB / 0.6748 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.3042, allocations: 1.207 MB / 0.676 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.3042, allocations: 0 / 0.676 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007124/0.305, allocations: 107.9 kB / 0.6761 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005412/0.3104, allocations: 1.45 MB / 0.6775 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.3105, allocations: 20 kB / 0.6775 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02011/0.3306, allocations: 7.831 MB / 0.6851 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3307, allocations: 0 / 0.6851 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/0.3441, allocations: 4.136 MB / 0.6892 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006694/0.3448, allocations: 232.1 kB / 0.6894 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004217/0.3453, allocations: 27.94 kB / 0.6894 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/0.3467, allocations: 84.02 kB / 0.6895 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005688/0.3473, allocations: 176.7 kB / 0.6897 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-05/0.3474, allocations: 28 kB / 0.6897 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00137/0.3488, allocations: 0.7602 MB / 0.6904 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3488, allocations: 4 kB / 0.6904 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001779/0.3506, allocations: 439.7 kB / 0.6909 GB, free: 8.523 MB / 0.4981 GB 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.01313/0.3637, allocations: 4.606 MB / 0.6954 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007499/0.3713, allocations: 2.367 MB / 0.6977 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3713, allocations: 0 / 0.6977 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004306/0.3756, allocations: 1.321 MB / 0.699 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.377, allocations: 99.44 kB / 0.6991 GB, free: 88 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02757/0.4046, allocations: 13.37 MB / 0.7121 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007646/0.4054, allocations: 1.057 MB / 0.7131 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005031/0.4059, allocations: 119.5 kB / 0.7133 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007508/0.4067, allocations: 423.3 kB / 0.7137 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of SimCode: time 1.503e-06/0.4067, allocations: 0 / 0.7137 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3921/0.7988, allocations: 33.7 MB / 0.7466 GB, free: 72.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.65, allocations: 10.83 kB / 0.7466 GB, free: 72.45 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)