Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.Aggregated_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007611/0.000761, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.269/1.269, allocations: 223.2 MB / 239 MB, free: 5.453 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.001241/0.001242, allocations: 176.4 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4496/0.4496, allocations: 79.48 MB / 420.8 MB, free: 3.957 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003422, allocations: 11.98 kB / 0.4892 GB, free: 5.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3225, allocations: 69.5 MB / 0.5571 GB, free: 37.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.004214/0.3267, allocations: 5.525 MB / 0.5625 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002644/0.3294, allocations: 2.005 MB / 0.5644 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002918/0.3297, allocations: 10.41 kB / 0.5645 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.33, allocations: 157.4 kB / 0.5646 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.3313, allocations: 0.7197 MB / 0.5653 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007118/0.332, allocations: 489.7 kB / 0.5658 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.3332, allocations: 1.469 MB / 0.5672 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.3334, allocations: 179 kB / 0.5674 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003864/0.3338, allocations: 0.5747 MB / 0.5679 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006528/0.3345, allocations: 0.8279 MB / 0.5688 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.3346, allocations: 78.03 kB / 0.5688 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.335, allocations: 232.9 kB / 0.569 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.3352, allocations: 290.3 kB / 0.5693 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.3354, allocations: 209.6 kB / 0.5695 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000792/0.3362, allocations: 1.255 MB / 0.5707 GB, free: 35.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3362, allocations: 0 / 0.5707 GB, free: 35.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3362, allocations: 0 / 0.5707 GB, free: 35.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.3362, allocations: 1.875 kB / 0.5708 GB, free: 35.59 MB / 430.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.008908/0.3452, allocations: 3.03 MB / 0.5737 GB, free: 34.58 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3452, allocations: 12.34 kB / 0.5737 GB, free: 34.58 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.3453, allocations: 109.9 kB / 0.5738 GB, free: 34.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00256/0.3479, allocations: 0.4994 MB / 0.5743 GB, free: 34.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009776/0.3489, allocations: 0.8543 MB / 0.5751 GB, free: 33.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.3491, allocations: 237.2 kB / 0.5754 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.3492, allocations: 85.16 kB / 0.5755 GB, free: 33.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.3508, allocations: 0.9393 MB / 0.5764 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3508, allocations: 0 / 0.5764 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-05/0.3509, allocations: 29.02 kB / 0.5764 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.3509, allocations: 16.78 kB / 0.5764 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.3527, allocations: 1.061 MB / 0.5775 GB, free: 32.91 MB / 430.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.003539/0.3563, allocations: 2.954 MB / 0.5803 GB, free: 31.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.3586, allocations: 1.164 MB / 0.5815 GB, free: 30.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.3597, allocations: 0.7167 MB / 0.5822 GB, free: 30.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-05/0.3598, allocations: 20.05 kB / 0.5822 GB, free: 30.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/0.3598, allocations: 38.22 kB / 0.5822 GB, free: 30.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 1.853e-06/0.3598, allocations: 2.688 kB / 0.5822 GB, free: 30.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02305/0.3829, allocations: 7.66 MB / 0.5897 GB, free: 29.22 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.3829, allocations: 62.28 kB / 0.5898 GB, free: 29.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.3846, allocations: 1.133 MB / 0.5909 GB, free: 28.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.3848, allocations: 51.41 kB / 0.5909 GB, free: 28.6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.385, allocations: 390.1 kB / 0.5913 GB, free: 28.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/0.3853, allocations: 363.6 kB / 0.5916 GB, free: 28.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.3854, allocations: 36.25 kB / 0.5917 GB, free: 27.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3855, allocations: 377.8 kB / 0.592 GB, free: 27.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.3873, allocations: 0.9561 MB / 0.593 GB, free: 27.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.3891, allocations: 0.9859 MB / 0.5939 GB, free: 26.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.3909, allocations: 1.023 MB / 0.5949 GB, free: 26.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3909, allocations: 0 / 0.5949 GB, free: 26.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007333/0.3983, allocations: 3.267 MB / 0.5981 GB, free: 25.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.3983, allocations: 14.12 kB / 0.5981 GB, free: 25.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.3983, allocations: 1.312 kB / 0.5981 GB, free: 25.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009578/0.4079, allocations: 2.531 MB / 0.6006 GB, free: 24.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.4094, allocations: 328.9 kB / 0.6009 GB, free: 24.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004798/0.4142, allocations: 2.459 MB / 0.6033 GB, free: 23.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.4159, allocations: 224.6 kB / 0.6035 GB, free: 23.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/0.4161, allocations: 62.52 kB / 0.6036 GB, free: 23.61 MB / 430.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 (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 {24 29} Notification: Performance of prepare postOptimizeDAE: time 0.0004452/0.4165, allocations: 251.4 kB / 0.6038 GB, free: 23.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/0.4168, allocations: 112.3 kB / 0.604 GB, free: 23.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.4271, allocations: 3.912 MB / 0.6078 GB, free: 22.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.4271, allocations: 14.84 kB / 0.6078 GB, free: 22.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4271, allocations: 0.5 kB / 0.6078 GB, free: 22.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.4271, allocations: 5.25 kB / 0.6078 GB, free: 22.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.4287, allocations: 1.211 MB / 0.609 GB, free: 21.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.4287, allocations: 0.625 kB / 0.609 GB, free: 21.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000638/0.4293, allocations: 113.6 kB / 0.6091 GB, free: 21.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005037/0.4344, allocations: 1.687 MB / 0.6107 GB, free: 21.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.654e-05/0.4345, allocations: 18.81 kB / 0.6107 GB, free: 21.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01486/0.4493, allocations: 7.82 MB / 0.6184 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4494, allocations: 3.984 kB / 0.6184 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.4597, allocations: 4.788 MB / 0.6231 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006038/0.4603, allocations: 241.3 kB / 0.6233 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003826/0.4607, allocations: 16 kB / 0.6233 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.462, allocations: 111.9 kB / 0.6234 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005429/0.4626, allocations: 180.7 kB / 0.6236 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.601e-05/0.4627, allocations: 20.69 kB / 0.6236 GB, free: 8.457 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001249/0.4639, allocations: 0.7563 MB / 0.6243 GB, free: 7.691 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.382e-06/0.4639, allocations: 112 / 0.6243 GB, free: 7.691 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001724/0.4657, allocations: 443.7 kB / 0.6248 GB, free: 7.258 MB / 430.1 MB 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 (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 {14 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.01021/0.4759, allocations: 5.229 MB / 0.6299 GB, free: 1.996 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00599/0.4819, allocations: 2.55 MB / 0.6324 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4819, allocations: 0 / 0.6324 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003719/0.4856, allocations: 1.441 MB / 0.6338 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.4867, allocations: 97.8 kB / 0.6339 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02573/0.5124, allocations: 11.66 MB / 0.6453 GB, free: 2.039 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006784/0.5131, allocations: 1.054 MB / 0.6463 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000628/0.5138, allocations: 112.2 kB / 0.6464 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007994/0.5146, allocations: 415.3 kB / 0.6468 GB, free: 452 kB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5146, allocations: 4 kB / 0.6468 GB, free: 448 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05508/0.5697, allocations: 30.92 MB / 0.677 GB, free: 1.934 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/0.5699, allocations: 235.3 kB / 0.6772 GB, free: 1.695 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/3.173, allocations: 3.375 kB / 0.6772 GB, free: 1.695 MB / 478.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1) Environment - environmentSimulation: