Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_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.001439/0.001439, 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.509/1.509, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.0009525/0.0009526, allocations: 94.97 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.505/0.505, allocations: 78.08 MB / 409.3 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.767e-05/1.767e-05, allocations: 3.938 kB / 485 MB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1631, allocations: 69.36 MB / 0.5414 GB, free: 6.773 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4534/0.6165, allocations: 102.6 MB / 0.6416 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.6168, allocations: 81.86 kB / 0.6417 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09534/0.7122, allocations: 35.6 MB / 0.6765 GB, free: 9.145 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.7122, allocations: 3.938 kB / 0.6765 GB, free: 9.141 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.179e-05/0.7123, allocations: 16 kB / 0.6765 GB, free: 9.125 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.003891/0.7162, allocations: 1.551 MB / 0.678 GB, free: 7.531 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.7162, allocations: 12.03 kB / 0.678 GB, free: 7.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/0.7184, allocations: 386 kB / 0.6784 GB, free: 7.141 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.7197, allocations: 0.7971 MB / 0.6791 GB, free: 6.289 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002588/0.72, allocations: 197.8 kB / 0.6793 GB, free: 6.066 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.7201, allocations: 39.91 kB / 0.6794 GB, free: 6.027 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001336/0.7215, allocations: 0.7602 MB / 0.6801 GB, free: 5.266 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.7228, allocations: 0.652 MB / 0.6808 GB, free: 4.609 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.7228, allocations: 6.391 kB / 0.6808 GB, free: 4.605 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.417e-05/0.7229, allocations: 0 / 0.6808 GB, free: 4.605 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.7229, allocations: 16 kB / 0.6808 GB, free: 4.59 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.005213/0.7281, allocations: 2.636 MB / 0.6833 GB, free: 1.832 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.73, allocations: 0.8534 MB / 0.6842 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000703/0.7307, allocations: 0.5 MB / 0.6847 GB, free: 484 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.7308, allocations: 16.77 kB / 0.6847 GB, free: 468 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.7309, allocations: 44.66 kB / 0.6847 GB, free: 416 kB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 2.976e-06/0.7309, allocations: 0 / 0.6847 GB, free: 416 kB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.009839/0.7407, allocations: 3.185 MB / 0.6878 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.7408, allocations: 60.19 kB / 0.6879 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.7424, allocations: 0.869 MB / 0.6887 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002572/0.7427, allocations: 25.7 kB / 0.6888 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/0.743, allocations: 449.5 kB / 0.6892 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004071/0.7435, allocations: 327 kB / 0.6895 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/0.7435, allocations: 0 / 0.6895 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.7437, allocations: 334 kB / 0.6898 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006272/0.7443, allocations: 398.6 kB / 0.6902 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006615/0.745, allocations: 409.2 kB / 0.6906 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000831/0.7458, allocations: 442.3 kB / 0.691 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.7458, allocations: 0 / 0.691 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002789/0.7486, allocations: 1.424 MB / 0.6924 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.7487, allocations: 9.562 kB / 0.6924 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.7487, allocations: 0 / 0.6924 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006851/0.7555, allocations: 1.855 MB / 0.6942 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.7562, allocations: 103.9 kB / 0.6943 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003979/0.7601, allocations: 2.076 MB / 0.6964 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.7619, allocations: 139.2 kB / 0.6965 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.7621, allocations: 31.98 kB / 0.6965 GB, free: 4.223 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.0002541/0.7623, allocations: 114 kB / 0.6966 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009926/0.7722, allocations: 3.197 MB / 0.6998 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006887/0.773, allocations: 115.4 kB / 0.6999 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009913/0.7829, allocations: 3.288 MB / 0.7031 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.783, allocations: 12 kB / 0.7031 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.783, allocations: 0 / 0.7031 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.385e-05/0.783, allocations: 7.969 kB / 0.7031 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.785, allocations: 1.113 MB / 0.7042 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.785, allocations: 0 / 0.7042 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006923/0.7857, allocations: 119.8 kB / 0.7043 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004403/0.7901, allocations: 1.305 MB / 0.7056 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.7902, allocations: 8.656 kB / 0.7056 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01285/0.8031, allocations: 6.09 MB / 0.7115 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.8031, allocations: 2.375 kB / 0.7115 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01093/0.8141, allocations: 3.963 MB / 0.7154 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000611/0.8147, allocations: 235.4 kB / 0.7156 GB, free: 452 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/0.8149, allocations: 4 kB / 0.7156 GB, free: 448 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.8162, allocations: 95.91 kB / 0.7157 GB, free: 352 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005154/0.8167, allocations: 185.7 kB / 0.7159 GB, free: 164 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-05/0.8168, allocations: 20 kB / 0.7159 GB, free: 144 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009588/0.8178, allocations: 0.6738 MB / 0.7166 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8178, allocations: 4 kB / 0.7166 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001021/0.8188, allocations: 319.5 kB / 0.7169 GB, free: 15.14 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.01113/0.83, allocations: 4.52 MB / 0.7213 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005228/0.8353, allocations: 1.548 MB / 0.7228 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.8353, allocations: 0 / 0.7228 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003677/0.839, allocations: 1.222 MB / 0.724 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.84, allocations: 85.94 kB / 0.7241 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/0.8443, allocations: 2.156 MB / 0.7262 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006627/0.845, allocations: 1.08 MB / 0.7272 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004658/0.8455, allocations: 87.3 kB / 0.7273 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006113/0.8461, allocations: 425.2 kB / 0.7277 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of SimCode: time 9.22e-07/0.8461, allocations: 0 / 0.7277 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05806/0.9042, allocations: 26.64 MB / 0.7537 GB, free: 9.551 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.9044, allocations: 161.5 kB / 0.7539 GB, free: 9.359 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.838/3.742, allocations: 0 / 0.7539 GB, free: 9.359 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)