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.0009881/0.0009881, allocations: 173.6 kB / 12.73 MB, free: 2.586 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.2/1.2, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008731/0.0008731, allocations: 90.81 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4565/0.4565, allocations: 78.9 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.828e-05, allocations: 4 kB / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3145, allocations: 69.5 MB / 0.5492 GB, free: 19.67 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1208/0.4354, allocations: 104 MB / 0.6507 GB, free: 11.63 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.4356, allocations: 71.97 kB / 0.6508 GB, free: 11.56 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3528/0.7885, allocations: 32.23 MB / 0.6823 GB, free: 107.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.7885, allocations: 0 / 0.6823 GB, free: 107.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.627e-05/0.7886, allocations: 18.31 kB / 0.6823 GB, free: 107.2 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.003803/0.7924, allocations: 1.557 MB / 0.6838 GB, free: 106.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.7924, allocations: 17.19 kB / 0.6838 GB, free: 106.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000142/0.7926, allocations: 110.9 kB / 0.6839 GB, free: 106.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004101/0.7967, allocations: 0.7103 MB / 0.6846 GB, free: 106.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.7986, allocations: 0.9048 MB / 0.6855 GB, free: 106.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002704/0.7989, allocations: 217.8 kB / 0.6857 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.7991, allocations: 76.09 kB / 0.6858 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.8008, allocations: 0.7426 MB / 0.6865 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.8008, allocations: 2.406 kB / 0.6865 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.317e-05/0.8009, allocations: 24.03 kB / 0.6865 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-05/0.8009, allocations: 14.62 kB / 0.6865 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.8022, allocations: 0.7897 MB / 0.6873 GB, free: 105.9 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.005659/0.8079, allocations: 3.003 MB / 0.6903 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.8095, allocations: 0.8789 MB / 0.6911 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006653/0.8102, allocations: 0.5256 MB / 0.6916 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.8103, allocations: 24.95 kB / 0.6916 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.8103, allocations: 42.88 kB / 0.6917 GB, free: 104.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 2.695e-06/0.8103, allocations: 0 / 0.6917 GB, free: 104.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.008503/0.8188, allocations: 3.238 MB / 0.6949 GB, free: 104.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.8189, allocations: 66.16 kB / 0.6949 GB, free: 104.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.8202, allocations: 1.047 MB / 0.6959 GB, free: 103.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.293e-05/0.8202, allocations: 44.92 kB / 0.696 GB, free: 103.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.8205, allocations: 440.3 kB / 0.6964 GB, free: 103.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.8207, allocations: 340.2 kB / 0.6967 GB, free: 103 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.8208, allocations: 19.56 kB / 0.6967 GB, free: 103 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.421e-05/0.8209, allocations: 343.5 kB / 0.6971 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005926/0.8214, allocations: 411.8 kB / 0.6975 GB, free: 102.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005829/0.822, allocations: 422.3 kB / 0.6979 GB, free: 102.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006146/0.8227, allocations: 447.5 kB / 0.6983 GB, free: 102.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8227, allocations: 0 / 0.6983 GB, free: 102.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002476/0.8252, allocations: 1.478 MB / 0.6997 GB, free: 101.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.8252, allocations: 13.53 kB / 0.6997 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.8252, allocations: 0 / 0.6997 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007109/0.8323, allocations: 2.171 MB / 0.7019 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/0.8328, allocations: 109 kB / 0.702 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.8358, allocations: 1.926 MB / 0.7039 GB, free: 99.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.8372, allocations: 161.3 kB / 0.704 GB, free: 99.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/0.8373, allocations: 26.64 kB / 0.704 GB, free: 99.89 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.000171/0.8375, allocations: 149.7 kB / 0.7042 GB, free: 99.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.8377, allocations: 112.8 kB / 0.7043 GB, free: 99.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008545/0.8462, allocations: 3.369 MB / 0.7076 GB, free: 98.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.8463, allocations: 8 kB / 0.7076 GB, free: 98.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.8463, allocations: 4 kB / 0.7076 GB, free: 98.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.8463, allocations: 7.125 kB / 0.7076 GB, free: 98.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.8475, allocations: 1.272 MB / 0.7088 GB, free: 97.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.8475, allocations: 7.438 kB / 0.7088 GB, free: 97.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006277/0.8481, allocations: 114.2 kB / 0.709 GB, free: 97.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003853/0.852, allocations: 1.33 MB / 0.7102 GB, free: 96.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-05/0.8521, allocations: 23.09 kB / 0.7103 GB, free: 96.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/0.8636, allocations: 6.201 MB / 0.7163 GB, free: 90.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8636, allocations: 0 / 0.7163 GB, free: 90.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009274/0.8729, allocations: 4.031 MB / 0.7203 GB, free: 86.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005092/0.8734, allocations: 257.9 kB / 0.7205 GB, free: 86.74 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.8736, allocations: 19.19 kB / 0.7205 GB, free: 86.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.8749, allocations: 114 kB / 0.7206 GB, free: 86.63 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004508/0.8753, allocations: 180.2 kB / 0.7208 GB, free: 86.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-05/0.8754, allocations: 23.95 kB / 0.7208 GB, free: 86.51 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00103/0.8765, allocations: 0.8325 MB / 0.7216 GB, free: 85.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8765, allocations: 4 kB / 0.7216 GB, free: 85.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008813/0.8773, allocations: 367.2 kB / 0.722 GB, free: 85.35 MB / 490.7 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 () * 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.009256/0.8866, allocations: 4.58 MB / 0.7265 GB, free: 81.08 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004297/0.8909, allocations: 1.612 MB / 0.728 GB, free: 79.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.891, allocations: 3.938 kB / 0.728 GB, free: 79.47 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003194/0.8942, allocations: 1.257 MB / 0.7293 GB, free: 78.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000889/0.8951, allocations: 109.6 kB / 0.7294 GB, free: 78.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/0.8987, allocations: 2.233 MB / 0.7316 GB, free: 75.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.8991, allocations: 1.081 MB / 0.7326 GB, free: 74.79 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003858/0.8995, allocations: 98.25 kB / 0.7327 GB, free: 74.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005138/0.9, allocations: 423.3 kB / 0.7331 GB, free: 74.28 MB / 490.7 MB Notification: Performance of SimCode: time 7.21e-07/0.9, allocations: 3.938 kB / 0.7331 GB, free: 74.27 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04214/0.9422, allocations: 29.83 MB / 0.7622 GB, free: 44.84 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/0.9424, allocations: 207.3 kB / 0.7624 GB, free: 44.62 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.539/3.482, allocations: 1.406 kB / 0.7624 GB, free: 44.62 MB / 490.7 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)