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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.000993/0.000993, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 221.5 MB / 229.6 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009724/0.0009723, allocations: 94.78 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4716/0.4716, allocations: 78.94 MB / 410.2 MB, free: 5.992 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.791e-05/1.802e-05, allocations: 0 / 486 MB, free: 11.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1604, allocations: 69.52 MB / 0.5425 GB, free: 5.848 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4246/0.585, allocations: 103.3 MB / 0.6434 GB, free: 10.69 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.5853, allocations: 82.53 kB / 0.6435 GB, free: 10.61 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09191/0.6772, allocations: 31.83 MB / 0.6746 GB, free: 10.81 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6773, allocations: 0 / 0.6746 GB, free: 10.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.716e-05/0.6774, allocations: 20 kB / 0.6746 GB, free: 10.79 MB / 490.7 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.004952/0.6823, allocations: 1.562 MB / 0.6761 GB, free: 9.188 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.6824, allocations: 12.03 kB / 0.6761 GB, free: 9.176 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004363/0.6867, allocations: 0.7087 MB / 0.6768 GB, free: 8.465 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.6888, allocations: 0.8987 MB / 0.6777 GB, free: 7.512 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000286/0.6891, allocations: 200.1 kB / 0.6779 GB, free: 7.289 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/0.6893, allocations: 43.91 kB / 0.6779 GB, free: 7.246 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00158/0.6909, allocations: 0.7563 MB / 0.6787 GB, free: 6.488 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.6923, allocations: 0.6491 MB / 0.6793 GB, free: 5.836 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.6923, allocations: 3.953 kB / 0.6793 GB, free: 5.832 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-05/0.6924, allocations: 3.984 kB / 0.6793 GB, free: 5.828 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.6924, allocations: 16 kB / 0.6793 GB, free: 5.812 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006832/0.6993, allocations: 2.886 MB / 0.6821 GB, free: 2.805 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.7012, allocations: 0.8417 MB / 0.6829 GB, free: 1.957 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007523/0.7019, allocations: 0.4992 MB / 0.6834 GB, free: 1.457 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.702, allocations: 20.77 kB / 0.6835 GB, free: 1.438 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.7021, allocations: 43.28 kB / 0.6835 GB, free: 1.387 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 2.846e-06/0.7021, allocations: 0 / 0.6835 GB, free: 1.387 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01002/0.7121, allocations: 3.186 MB / 0.6866 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.7122, allocations: 68.19 kB / 0.6867 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.7138, allocations: 0.9785 MB / 0.6876 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.99e-05/0.7138, allocations: 29.64 kB / 0.6877 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000341/0.7142, allocations: 441.6 kB / 0.6881 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003533/0.7146, allocations: 331 kB / 0.6884 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.7146, allocations: 0.75 kB / 0.6884 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.7148, allocations: 341.9 kB / 0.6887 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006516/0.7154, allocations: 394.6 kB / 0.6891 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/0.7161, allocations: 401.2 kB / 0.6895 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000839/0.717, allocations: 454.3 kB / 0.6899 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.717, allocations: 0 / 0.6899 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002973/0.72, allocations: 1.423 MB / 0.6913 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.72, allocations: 8 kB / 0.6913 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.72, allocations: 1.5 kB / 0.6913 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006833/0.7269, allocations: 1.851 MB / 0.6931 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.7274, allocations: 107.9 kB / 0.6932 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003838/0.7312, allocations: 2.072 MB / 0.6952 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.7327, allocations: 147.2 kB / 0.6954 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-05/0.7328, allocations: 27.98 kB / 0.6954 GB, free: 5.078 MB / 0.4948 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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.0002116/0.7331, allocations: 114.5 kB / 0.6955 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009968/0.743, allocations: 3.197 MB / 0.6986 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003177/0.7434, allocations: 114.6 kB / 0.6988 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009698/0.7531, allocations: 3.288 MB / 0.702 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.7531, allocations: 12 kB / 0.702 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.7531, allocations: 3.984 kB / 0.702 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.7531, allocations: 7.922 kB / 0.702 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.7548, allocations: 1.179 MB / 0.7031 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.7548, allocations: 0 / 0.7031 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006991/0.7555, allocations: 111.9 kB / 0.7032 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004362/0.7599, allocations: 1.31 MB / 0.7045 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.535e-05/0.76, allocations: 8 kB / 0.7045 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01318/0.7731, allocations: 6.097 MB / 0.7105 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.7732, allocations: 3.938 kB / 0.7105 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/0.7841, allocations: 3.956 MB / 0.7144 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006196/0.7848, allocations: 251.4 kB / 0.7146 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003863/0.7852, allocations: 4 kB / 0.7146 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/0.7867, allocations: 95.91 kB / 0.7147 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004874/0.7872, allocations: 177 kB / 0.7149 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.307e-05/0.7873, allocations: 31.98 kB / 0.7149 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001378/0.7886, allocations: 0.7636 MB / 0.7156 GB, free: 136 kB / 0.5105 GB Notification: Performance of sort global known variables: time 3.7e-07/0.7887, allocations: 0 / 0.7156 GB, free: 136 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001191/0.7899, allocations: 335.5 kB / 0.716 GB, free: 15.8 MB / 0.5261 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 () * 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.01089/0.8008, allocations: 4.509 MB / 0.7204 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004817/0.8056, allocations: 1.556 MB / 0.7219 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.8056, allocations: 0 / 0.7219 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003587/0.8092, allocations: 1.219 MB / 0.7231 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00095/0.8102, allocations: 85.38 kB / 0.7231 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004881/0.8151, allocations: 2.169 MB / 0.7253 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.8158, allocations: 1.076 MB / 0.7263 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005138/0.8163, allocations: 94.48 kB / 0.7264 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006888/0.817, allocations: 419.3 kB / 0.7268 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of SimCode: time 4.71e-07/0.8171, allocations: 0 / 0.7268 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05688/0.8739, allocations: 27.51 MB / 0.7537 GB, free: 9.363 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/0.8742, allocations: 161.1 kB / 0.7538 GB, free: 9.176 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.59/3.465, allocations: 32 / 0.7538 GB, free: 9.176 MB / 0.5573 GB (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)