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/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/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/package.mo): time 0.09985/0.09985, allocations: 12.2 MB / 27.16 MB, free: 112 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 104.3 kB / 30.66 MB, free: 6.43 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.554/1.554, allocations: 205.4 MB / 239.5 MB, free: 10.92 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.001167/0.001167, allocations: 177.2 kB / 290.6 MB, free: 8.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4282/0.4282, allocations: 78.51 MB / 420.1 MB, free: 6.648 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.0009083/0.0009085, allocations: 34.16 kB / 0.4895 GB, free: 38.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.153, allocations: 69.25 MB / 0.5571 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.00749/0.1605, allocations: 7.147 MB / 0.5641 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005766/0.1663, allocations: 2.536 MB / 0.5666 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.1675, allocations: 12 kB / 0.5666 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006485/0.1681, allocations: 218.3 kB / 0.5668 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003666/0.1718, allocations: 1.327 MB / 0.5681 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.173, allocations: 0.4946 MB / 0.5686 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002361/0.1753, allocations: 1.582 MB / 0.5701 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.1758, allocations: 268.7 kB / 0.5704 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.1768, allocations: 0.8447 MB / 0.5712 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.1781, allocations: 1.207 MB / 0.5724 GB, free: 9.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002033/0.1783, allocations: 108 kB / 0.5725 GB, free: 9.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006223/0.179, allocations: 259.8 kB / 0.5727 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000384/0.1794, allocations: 418.4 kB / 0.5731 GB, free: 8.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002837/0.1796, allocations: 292.8 kB / 0.5734 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.1813, allocations: 1.703 MB / 0.5751 GB, free: 6.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.1813, allocations: 0 / 0.5751 GB, free: 6.391 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1813, allocations: 0 / 0.5751 GB, free: 6.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.1813, allocations: 0 / 0.5751 GB, free: 6.391 MB / 398.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.01896/0.2003, allocations: 4.794 MB / 0.5797 GB, free: 1.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.2003, allocations: 15.98 kB / 0.5798 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005358/0.2009, allocations: 139.2 kB / 0.5799 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003573/0.2045, allocations: 0.5714 MB / 0.5804 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/0.2066, allocations: 1.17 MB / 0.5816 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002966/0.2069, allocations: 276.8 kB / 0.5818 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.2072, allocations: 115.9 kB / 0.582 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.2093, allocations: 1.132 MB / 0.5831 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.2094, allocations: 0 / 0.5831 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.2095, allocations: 36 kB / 0.5831 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.2095, allocations: 20 kB / 0.5831 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.2119, allocations: 1.23 MB / 0.5843 GB, free: 12.74 MB / 414.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.007835/0.2198, allocations: 4.773 MB / 0.589 GB, free: 7.719 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003417/0.2232, allocations: 2.19 MB / 0.5911 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.2233, allocations: 29.27 kB / 0.5911 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.2234, allocations: 47.83 kB / 0.5912 GB, free: 5.262 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 3.516e-06/0.2234, allocations: 0 / 0.5912 GB, free: 5.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=130): time 0.02762/0.251, allocations: 7.681 MB / 0.5987 GB, free: 13.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.2511, allocations: 68.72 kB / 0.5988 GB, free: 13.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002932/0.2541, allocations: 1.643 MB / 0.6004 GB, free: 11.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000376/0.2545, allocations: 65.69 kB / 0.6004 GB, free: 11.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006516/0.2551, allocations: 0.5381 MB / 0.601 GB, free: 11.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006015/0.2557, allocations: 0.4932 MB / 0.6014 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.2559, allocations: 52 kB / 0.6015 GB, free: 10.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.2561, allocations: 407.6 kB / 0.6019 GB, free: 10.24 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/0.2584, allocations: 1.196 MB / 0.603 GB, free: 9.043 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00237/0.2608, allocations: 1.384 MB / 0.6044 GB, free: 7.633 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002471/0.2632, allocations: 1.298 MB / 0.6057 GB, free: 6.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.2633, allocations: 0 / 0.6057 GB, free: 6.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009497/0.2728, allocations: 4.277 MB / 0.6098 GB, free: 2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.2728, allocations: 10.97 kB / 0.6098 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.2729, allocations: 0 / 0.6098 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01121/0.2841, allocations: 3.081 MB / 0.6129 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/0.2866, allocations: 479.3 kB / 0.6133 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006401/0.2931, allocations: 2.703 MB / 0.616 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003262/0.2964, allocations: 269.8 kB / 0.6162 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004858/0.2969, allocations: 87.97 kB / 0.6163 GB, free: 11.35 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 38} Notification: Performance of prepare postOptimizeDAE: time 0.001001/0.2979, allocations: 313.4 kB / 0.6166 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006524/0.2985, allocations: 169.8 kB / 0.6168 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/0.3107, allocations: 4.117 MB / 0.6208 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.835e-05/0.3108, allocations: 19.98 kB / 0.6208 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.3109, allocations: 0 / 0.6208 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.741e-05/0.3109, allocations: 7.969 kB / 0.6208 GB, free: 6.707 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.01734/0.3283, allocations: 6.236 MB / 0.6269 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/0.3283, allocations: 0 / 0.6269 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.3294, allocations: 171.8 kB / 0.6271 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005838/0.3353, allocations: 1.703 MB / 0.6287 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002326/0.3356, allocations: 28 kB / 0.6287 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01987/0.3554, allocations: 8.198 MB / 0.6367 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3555, allocations: 0 / 0.6367 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/0.3697, allocations: 5.174 MB / 0.6418 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008267/0.3705, allocations: 306.7 kB / 0.6421 GB, free: 0.543 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005733/0.3711, allocations: 35.94 kB / 0.6421 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/0.373, allocations: 99.92 kB / 0.6422 GB, free: 420 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006385/0.3736, allocations: 193.4 kB / 0.6424 GB, free: 228 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/0.3738, allocations: 36 kB / 0.6424 GB, free: 192 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001951/0.3758, allocations: 1.075 MB / 0.6435 GB, free: 15.12 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3758, allocations: 0 / 0.6435 GB, free: 15.12 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002121/0.3779, allocations: 0.5856 MB / 0.6441 GB, free: 14.53 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.01433/0.3922, allocations: 5.785 MB / 0.6497 GB, free: 8.707 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009735/0.402, allocations: 3.164 MB / 0.6528 GB, free: 5.543 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.4021, allocations: 0 / 0.6528 GB, free: 5.543 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005246/0.4073, allocations: 1.653 MB / 0.6544 GB, free: 3.879 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/0.4092, allocations: 113.6 kB / 0.6545 GB, free: 3.766 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2645/0.6737, allocations: 5.776 MB / 0.6602 GB, free: 94.45 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007812/0.6745, allocations: 1.264 MB / 0.6614 GB, free: 93.74 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007786/0.6753, allocations: 164.3 kB / 0.6616 GB, free: 93.72 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008831/0.6762, allocations: 0.6288 MB / 0.6622 GB, free: 93.72 MB / 478.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6762, allocations: 1.375 kB / 0.6622 GB, free: 93.72 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06812/0.7444, allocations: 39.64 MB / 0.7009 GB, free: 70.81 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/0.7446, allocations: 242 kB / 0.7011 GB, free: 70.57 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.161/3.906, allocations: 0 / 0.7011 GB, free: 70.57 MB / 478.1 MB (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/linux/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) Environment - environmentSimulation: