Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.0009639/0.000964, allocations: 172 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.197/1.197, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007966/0.0007966, allocations: 84.45 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06125/0.06125, allocations: 12.2 MB / 326.9 MB, free: 12.87 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2669/0.2669, allocations: 78.03 MB / 455.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.71e-05/2.724e-05, allocations: 7.984 kB / 0.5213 GB, free: 24.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 69.23 MB / 0.5889 GB, free: 2.957 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3677/0.4707, allocations: 104.8 MB / 0.6913 GB, free: 11.57 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001855/0.4709, allocations: 82.44 kB / 0.6913 GB, free: 11.53 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0894/0.5604, allocations: 35.22 MB / 0.7257 GB, free: 13.83 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.5604, allocations: 4 kB / 0.7257 GB, free: 13.83 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.201e-05/0.5604, allocations: 20 kB / 0.7258 GB, free: 13.81 MB / 474.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.003739/0.5642, allocations: 1.547 MB / 0.7273 GB, free: 12.31 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.5642, allocations: 15.97 kB / 0.7273 GB, free: 12.3 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.5644, allocations: 108 kB / 0.7274 GB, free: 12.22 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.5662, allocations: 382 kB / 0.7278 GB, free: 11.88 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.5674, allocations: 0.8036 MB / 0.7285 GB, free: 11.21 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002557/0.5676, allocations: 223.8 kB / 0.7287 GB, free: 10.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.5678, allocations: 72.02 kB / 0.7288 GB, free: 10.94 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.569, allocations: 0.7436 MB / 0.7295 GB, free: 10.46 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.569, allocations: 0 / 0.7295 GB, free: 10.46 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.582e-05/0.5691, allocations: 25.23 kB / 0.7296 GB, free: 10.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.5691, allocations: 20 kB / 0.7296 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.5704, allocations: 0.7901 MB / 0.7304 GB, free: 9.938 MB / 474.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.004191/0.5746, allocations: 2.761 MB / 0.7331 GB, free: 7.734 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.5763, allocations: 0.8839 MB / 0.7339 GB, free: 7.188 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000697/0.577, allocations: 0.524 MB / 0.7344 GB, free: 6.906 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.5771, allocations: 20.62 kB / 0.7345 GB, free: 6.891 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.5772, allocations: 38.47 kB / 0.7345 GB, free: 6.844 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 2.284e-06/0.5772, allocations: 3.938 kB / 0.7345 GB, free: 6.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=94): time 0.00927/0.5865, allocations: 3.234 MB / 0.7376 GB, free: 4.105 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.5865, allocations: 72.14 kB / 0.7377 GB, free: 4.023 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.5877, allocations: 0.9263 MB / 0.7386 GB, free: 3.348 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.5878, allocations: 43.95 kB / 0.7387 GB, free: 3.312 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.5881, allocations: 440 kB / 0.7391 GB, free: 3.102 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003093/0.5884, allocations: 339.6 kB / 0.7394 GB, free: 2.809 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.759e-05/0.5885, allocations: 14.75 kB / 0.7394 GB, free: 2.805 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.5886, allocations: 340.8 kB / 0.7397 GB, free: 2.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006604/0.5893, allocations: 414.4 kB / 0.7401 GB, free: 2.258 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000648/0.59, allocations: 429 kB / 0.7406 GB, free: 2.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007038/0.5907, allocations: 441.9 kB / 0.741 GB, free: 1.77 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5907, allocations: 0 / 0.741 GB, free: 1.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002521/0.5932, allocations: 1.476 MB / 0.7424 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.5932, allocations: 4 kB / 0.7424 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5932, allocations: 0 / 0.7424 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007579/0.6008, allocations: 2.175 MB / 0.7445 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/0.6014, allocations: 118.7 kB / 0.7447 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003505/0.6049, allocations: 1.926 MB / 0.7465 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.6064, allocations: 155.8 kB / 0.7467 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.411e-05/0.6065, allocations: 26.48 kB / 0.7467 GB, free: 13.18 MB / 490.7 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 () * 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.0002079/0.6067, allocations: 145.6 kB / 0.7468 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.6069, allocations: 122.5 kB / 0.747 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00938/0.6163, allocations: 3.364 MB / 0.7503 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.6163, allocations: 12 kB / 0.7503 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6163, allocations: 0 / 0.7503 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.6164, allocations: 3.984 kB / 0.7503 GB, free: 9.535 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.6179, allocations: 1.218 MB / 0.7515 GB, free: 8.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.6179, allocations: 0 / 0.7515 GB, free: 8.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006749/0.6186, allocations: 111.8 kB / 0.7516 GB, free: 8.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004296/0.6229, allocations: 1.33 MB / 0.7529 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.875e-05/0.623, allocations: 24 kB / 0.7529 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01328/0.6363, allocations: 6.194 MB / 0.7589 GB, free: 480 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.6363, allocations: 15.83 kB / 0.7589 GB, free: 464 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/0.6469, allocations: 4.019 MB / 0.7629 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004375/0.6473, allocations: 235.3 kB / 0.7631 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.6475, allocations: 23.95 kB / 0.7631 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.6488, allocations: 115.9 kB / 0.7632 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004654/0.6492, allocations: 172.7 kB / 0.7634 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.251e-05/0.6493, allocations: 31.98 kB / 0.7634 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000971/0.6503, allocations: 0.7337 MB / 0.7641 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6503, allocations: 0 / 0.7641 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008319/0.6511, allocations: 359.5 kB / 0.7645 GB, free: 10.73 MB / 0.4948 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.01066/0.6618, allocations: 4.598 MB / 0.769 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004595/0.6664, allocations: 1.601 MB / 0.7705 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6665, allocations: 4 kB / 0.7705 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003443/0.6699, allocations: 1.255 MB / 0.7718 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007474/0.6707, allocations: 100.3 kB / 0.7719 GB, free: 3.121 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.6746, allocations: 2.223 MB / 0.774 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.6752, allocations: 1.081 MB / 0.7751 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003922/0.6756, allocations: 90.69 kB / 0.7752 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006006/0.6762, allocations: 427.2 kB / 0.7756 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of SimCode: time 3.4e-07/0.6762, allocations: 0 / 0.7756 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04559/0.7218, allocations: 28.82 MB / 0.8037 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.722, allocations: 208.9 kB / 0.8039 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/3.333, allocations: 3.375 kB / 0.8039 GB, free: 2.344 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)