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.001291/0.001291, allocations: 174.7 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.26/1.26, 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.0008923/0.0008922, allocations: 97.95 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4245/0.4245, allocations: 78.03 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.504e-05/2.505e-05, allocations: 4 kB / 491.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.28, allocations: 69.35 MB / 0.5481 GB, free: 20.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1151/0.3951, allocations: 103.3 MB / 0.6489 GB, free: 13.09 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.3954, allocations: 75.95 kB / 0.649 GB, free: 13.02 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3428/0.7381, allocations: 36.06 MB / 0.6842 GB, free: 108.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.7382, allocations: 1.094 kB / 0.6842 GB, free: 108.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.257e-05/0.7382, allocations: 17.97 kB / 0.6842 GB, free: 108.3 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.003706/0.7419, allocations: 1.558 MB / 0.6858 GB, free: 107.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.742, allocations: 17.22 kB / 0.6858 GB, free: 107.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/0.7422, allocations: 105.4 kB / 0.6859 GB, free: 107.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/0.7445, allocations: 381.6 kB / 0.6862 GB, free: 107.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.7461, allocations: 0.7977 MB / 0.687 GB, free: 107.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000258/0.7463, allocations: 223 kB / 0.6872 GB, free: 107 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.7465, allocations: 71.86 kB / 0.6873 GB, free: 107 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.7478, allocations: 0.7471 MB / 0.688 GB, free: 106.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.7478, allocations: 3.312 kB / 0.688 GB, free: 106.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.542e-05/0.7479, allocations: 25.19 kB / 0.6881 GB, free: 106.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.7479, allocations: 11.84 kB / 0.6881 GB, free: 106.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.7491, allocations: 0.7873 MB / 0.6888 GB, free: 106.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.003956/0.753, allocations: 2.77 MB / 0.6915 GB, free: 106 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.7547, allocations: 0.8819 MB / 0.6924 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006445/0.7553, allocations: 0.5209 MB / 0.6929 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.7554, allocations: 22.61 kB / 0.6929 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.7555, allocations: 46.22 kB / 0.693 GB, free: 105.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 2.675e-06/0.7555, allocations: 0 / 0.693 GB, free: 105.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.008896/0.7644, allocations: 3.236 MB / 0.6961 GB, free: 104.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.7644, allocations: 61.03 kB / 0.6962 GB, free: 104.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.7659, allocations: 0.9271 MB / 0.6971 GB, free: 104.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002055/0.7661, allocations: 40.77 kB / 0.6971 GB, free: 104.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.7664, allocations: 448.5 kB / 0.6976 GB, free: 103.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/0.7667, allocations: 338.4 kB / 0.6979 GB, free: 103.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/0.7667, allocations: 19.38 kB / 0.6979 GB, free: 103.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.536e-05/0.7668, allocations: 338.8 kB / 0.6982 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006455/0.7675, allocations: 412.3 kB / 0.6986 GB, free: 103 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005943/0.7681, allocations: 427 kB / 0.699 GB, free: 102.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006463/0.7687, allocations: 441 kB / 0.6995 GB, free: 102.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.7687, allocations: 0 / 0.6995 GB, free: 102.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002557/0.7713, allocations: 1.488 MB / 0.7009 GB, free: 101.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.7713, allocations: 3.812 kB / 0.7009 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.7713, allocations: 0 / 0.7009 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007175/0.7785, allocations: 2.168 MB / 0.703 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005307/0.7791, allocations: 113.2 kB / 0.7031 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003075/0.7822, allocations: 1.932 MB / 0.705 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.7836, allocations: 151.2 kB / 0.7052 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.982e-05/0.7837, allocations: 30.34 kB / 0.7052 GB, free: 100.4 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.0001813/0.7839, allocations: 143.1 kB / 0.7053 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.7842, allocations: 115.2 kB / 0.7054 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008798/0.793, allocations: 3.38 MB / 0.7087 GB, free: 98.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.793, allocations: 8 kB / 0.7088 GB, free: 98.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.793, allocations: 0 / 0.7088 GB, free: 98.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-05/0.7931, allocations: 3.609 kB / 0.7088 GB, free: 98.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.7948, allocations: 1.211 MB / 0.7099 GB, free: 97.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.7948, allocations: 0 / 0.7099 GB, free: 97.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006632/0.7955, allocations: 123.4 kB / 0.7101 GB, free: 97.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003961/0.7995, allocations: 1.324 MB / 0.7113 GB, free: 96.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.234e-05/0.7996, allocations: 23.28 kB / 0.7114 GB, free: 96.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01149/0.8111, allocations: 6.198 MB / 0.7174 GB, free: 90.47 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.8111, allocations: 7.938 kB / 0.7174 GB, free: 90.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/0.8215, allocations: 4.024 MB / 0.7214 GB, free: 87.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005017/0.822, allocations: 241.7 kB / 0.7216 GB, free: 86.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.8222, allocations: 19.84 kB / 0.7216 GB, free: 86.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.8234, allocations: 109.1 kB / 0.7217 GB, free: 86.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004466/0.8238, allocations: 176.7 kB / 0.7219 GB, free: 86.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.758e-05/0.8239, allocations: 31.94 kB / 0.7219 GB, free: 86.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00081/0.8247, allocations: 0.7376 MB / 0.7226 GB, free: 85.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8247, allocations: 0 / 0.7226 GB, free: 85.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008331/0.8256, allocations: 359.6 kB / 0.723 GB, free: 85.4 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.009493/0.8351, allocations: 4.588 MB / 0.7275 GB, free: 80.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004287/0.8394, allocations: 1.611 MB / 0.729 GB, free: 79.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.8394, allocations: 3.938 kB / 0.729 GB, free: 79.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00318/0.8426, allocations: 1.255 MB / 0.7303 GB, free: 77.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007715/0.8434, allocations: 104.2 kB / 0.7304 GB, free: 77.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00336/0.8467, allocations: 2.229 MB / 0.7325 GB, free: 75.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.8471, allocations: 1.077 MB / 0.7336 GB, free: 74.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003594/0.8474, allocations: 90.7 kB / 0.7337 GB, free: 74.42 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004849/0.8479, allocations: 423.3 kB / 0.7341 GB, free: 74.01 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.8479, allocations: 0 / 0.7341 GB, free: 74.01 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03941/0.8874, allocations: 28.82 MB / 0.7622 GB, free: 45.56 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001276/0.8875, allocations: 202 kB / 0.7624 GB, free: 45.34 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.617/3.504, allocations: 0 / 0.7624 GB, free: 45.34 MB / 490.7 MB (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)