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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.0009679/0.0009679, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 221.4 MB / 234.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009349/0.0009347, allocations: 101.1 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4349/0.4349, allocations: 78.9 MB / 415.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/3.007e-05, allocations: 4 kB / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3382, allocations: 69.51 MB / 0.5492 GB, free: 19.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.4616, allocations: 104.7 MB / 0.6514 GB, free: 10.91 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.4618, allocations: 79.95 kB / 0.6515 GB, free: 10.83 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4053/0.8672, allocations: 45.39 MB / 0.6958 GB, free: 105.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.8672, allocations: 0 / 0.6958 GB, free: 105.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.49e-05/0.8673, allocations: 26.56 kB / 0.6958 GB, free: 105.9 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003998/0.8713, allocations: 1.915 MB / 0.6977 GB, free: 105.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.8713, allocations: 15.44 kB / 0.6977 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.8715, allocations: 136.3 kB / 0.6979 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005074/0.8766, allocations: 0.9666 MB / 0.6988 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.8784, allocations: 1.219 MB / 0.7 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001916/0.8786, allocations: 259.1 kB / 0.7002 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.8787, allocations: 91.83 kB / 0.7003 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.8802, allocations: 0.9639 MB / 0.7013 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.8802, allocations: 0 / 0.7013 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.52e-05/0.8803, allocations: 35.88 kB / 0.7013 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.8803, allocations: 19.38 kB / 0.7013 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.8818, allocations: 1.025 MB / 0.7023 GB, free: 103.1 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.007744/0.8896, allocations: 4.725 MB / 0.7069 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002123/0.8917, allocations: 2.015 MB / 0.7089 GB, free: 99.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008108/0.8925, allocations: 0.6756 MB / 0.7096 GB, free: 98.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.8927, allocations: 25.06 kB / 0.7096 GB, free: 98.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.8927, allocations: 51.81 kB / 0.7096 GB, free: 98.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=130): time 2.685e-06/0.8927, allocations: 0 / 0.7096 GB, free: 98.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=130): time 0.008939/0.9016, allocations: 3.552 MB / 0.7131 GB, free: 95.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.9017, allocations: 64.72 kB / 0.7132 GB, free: 95.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/0.9036, allocations: 1.526 MB / 0.7147 GB, free: 93.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.9037, allocations: 49.7 kB / 0.7147 GB, free: 93.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.9041, allocations: 0.6217 MB / 0.7153 GB, free: 93.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/0.9044, allocations: 472.2 kB / 0.7158 GB, free: 92.58 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.9045, allocations: 20 kB / 0.7158 GB, free: 92.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.761e-05/0.9046, allocations: 349.9 kB / 0.7161 GB, free: 92.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007661/0.9054, allocations: 0.5103 MB / 0.7166 GB, free: 91.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007999/0.9062, allocations: 0.6254 MB / 0.7172 GB, free: 91.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008278/0.907, allocations: 0.5672 MB / 0.7178 GB, free: 90.49 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.907, allocations: 0 / 0.7178 GB, free: 90.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003025/0.9101, allocations: 1.938 MB / 0.7197 GB, free: 88.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.9101, allocations: 8 kB / 0.7197 GB, free: 88.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.9101, allocations: 0 / 0.7197 GB, free: 88.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008955/0.9191, allocations: 2.811 MB / 0.7224 GB, free: 85.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008059/0.9199, allocations: 171.8 kB / 0.7226 GB, free: 85.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003785/0.9237, allocations: 2.28 MB / 0.7248 GB, free: 83.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/0.9259, allocations: 162.9 kB / 0.725 GB, free: 83.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/0.9261, allocations: 51.97 kB / 0.725 GB, free: 83.04 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0002933/0.9264, allocations: 164.7 kB / 0.7252 GB, free: 82.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000627/0.927, allocations: 173.8 kB / 0.7253 GB, free: 82.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009102/0.9361, allocations: 3.691 MB / 0.729 GB, free: 79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.9362, allocations: 12 kB / 0.729 GB, free: 78.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.9362, allocations: 0 / 0.729 GB, free: 78.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.931e-05/0.9363, allocations: 15.55 kB / 0.729 GB, free: 78.97 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 postOpt removeSimpleEquations (simulation): time 0.01261/0.9489, allocations: 5.938 MB / 0.7348 GB, free: 72.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.9489, allocations: 0 / 0.7348 GB, free: 72.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.95, allocations: 167.8 kB / 0.7349 GB, free: 72.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004209/0.9542, allocations: 1.422 MB / 0.7363 GB, free: 71.31 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001855/0.9544, allocations: 31.98 kB / 0.7364 GB, free: 71.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/0.9666, allocations: 6.419 MB / 0.7426 GB, free: 64.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.9666, allocations: 3.953 kB / 0.7426 GB, free: 64.73 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/0.9774, allocations: 4.569 MB / 0.7471 GB, free: 60.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008217/0.9782, allocations: 350.6 kB / 0.7474 GB, free: 59.78 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005319/0.9788, allocations: 27.95 kB / 0.7475 GB, free: 59.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/0.9806, allocations: 107.9 kB / 0.7476 GB, free: 59.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005056/0.9811, allocations: 193.4 kB / 0.7477 GB, free: 59.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.614e-05/0.9812, allocations: 39.98 kB / 0.7478 GB, free: 59.41 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00181/0.9831, allocations: 1.195 MB / 0.7489 GB, free: 58.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.9831, allocations: 0 / 0.7489 GB, free: 58.22 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001387/0.9845, allocations: 491.5 kB / 0.7494 GB, free: 57.74 MB / 490.7 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 () * 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.01057/0.9951, allocations: 5.214 MB / 0.7545 GB, free: 52.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005244/1, allocations: 1.992 MB / 0.7564 GB, free: 50.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1, allocations: 4 kB / 0.7565 GB, free: 50.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003546/1.004, allocations: 1.477 MB / 0.7579 GB, free: 49.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/1.005, allocations: 147 kB / 0.758 GB, free: 48.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005778/1.011, allocations: 3.241 MB / 0.7612 GB, free: 45.63 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/1.011, allocations: 1.273 MB / 0.7624 GB, free: 44.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006718/1.012, allocations: 133.3 kB / 0.7626 GB, free: 44.19 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009355/1.013, allocations: 0.6203 MB / 0.7632 GB, free: 43.57 MB / 490.7 MB Notification: Performance of SimCode: time 1.413e-06/1.013, allocations: 0 / 0.7632 GB, free: 43.57 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06159/1.075, allocations: 40.11 MB / 0.8023 GB, free: 3.719 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001454/1.075, allocations: 206.2 kB / 0.8025 GB, free: 3.492 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.91/3.985, allocations: 4.062 kB / 0.8025 GB, free: 3.488 MB / 490.7 MB (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/linux/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)