Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_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.001469/0.001468, allocations: 180.9 kB / 7.65 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.374/1.374, 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.0009707/0.0009702, allocations: 88.92 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4692/0.4692, allocations: 78.07 MB / 409.3 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.492e-05/2.477e-05, allocations: 7.938 kB / 485 MB, free: 12.15 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1522, allocations: 69.35 MB / 0.5414 GB, free: 6.734 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4514/0.6037, allocations: 103.4 MB / 0.6423 GB, free: 12.04 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.6039, allocations: 73.59 kB / 0.6424 GB, free: 11.97 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1412/0.7452, allocations: 50.13 MB / 0.6913 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7452, allocations: 4 kB / 0.6913 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.164e-05/0.7453, allocations: 24 kB / 0.6914 GB, free: 9.715 MB / 0.4948 GB 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.006261/0.7516, allocations: 1.92 MB / 0.6932 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/0.7517, allocations: 8.031 kB / 0.6932 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004008/0.7557, allocations: 461.3 kB / 0.6937 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/0.7583, allocations: 1.073 MB / 0.6947 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003437/0.7587, allocations: 232.2 kB / 0.695 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/0.7589, allocations: 52 kB / 0.695 GB, free: 5.848 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002455/0.7614, allocations: 0.9841 MB / 0.696 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.7635, allocations: 0.839 MB / 0.6968 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.7635, allocations: 0 / 0.6968 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.7636, allocations: 0 / 0.6968 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.7637, allocations: 20 kB / 0.6968 GB, free: 3.996 MB / 0.4948 GB 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.009653/0.7733, allocations: 4.211 MB / 0.7009 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003353/0.7767, allocations: 1.966 MB / 0.7028 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.778, allocations: 0.6413 MB / 0.7035 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.7782, allocations: 21.3 kB / 0.7035 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.7782, allocations: 48.62 kB / 0.7035 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=130): time 4.158e-06/0.7782, allocations: 0 / 0.7035 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130): time 0.01359/0.7918, allocations: 3.476 MB / 0.7069 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.7919, allocations: 72.67 kB / 0.707 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003073/0.795, allocations: 1.232 MB / 0.7082 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005061/0.7955, allocations: 29.7 kB / 0.7082 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006996/0.7963, allocations: 0.6292 MB / 0.7088 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008791/0.7971, allocations: 457.1 kB / 0.7093 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.852e-05/0.7973, allocations: 4.562 kB / 0.7093 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.7974, allocations: 349.9 kB / 0.7096 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.7986, allocations: 498.6 kB / 0.7101 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.7998, allocations: 0.5954 MB / 0.7107 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.8014, allocations: 0.5647 MB / 0.7112 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.8014, allocations: 0 / 0.7112 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004952/0.8063, allocations: 1.842 MB / 0.713 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.8064, allocations: 11.94 kB / 0.713 GB, free: 2.891 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.8064, allocations: 0 / 0.713 GB, free: 2.891 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/0.817, allocations: 2.23 MB / 0.7152 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.8183, allocations: 179.7 kB / 0.7154 GB, free: 492 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006281/0.8246, allocations: 2.467 MB / 0.7178 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/0.827, allocations: 142.9 kB / 0.7179 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.8272, allocations: 53.03 kB / 0.718 GB, free: 13.8 MB / 0.5261 GB 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.0003565/0.8276, allocations: 114.7 kB / 0.7181 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01328/0.8409, allocations: 3.491 MB / 0.7215 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008154/0.8417, allocations: 169.9 kB / 0.7217 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/0.8551, allocations: 3.584 MB / 0.7252 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.8551, allocations: 15.95 kB / 0.7252 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.8551, allocations: 0.6562 kB / 0.7252 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.328e-05/0.8552, allocations: 3.984 kB / 0.7252 GB, free: 6.387 MB / 0.5261 GB 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.01658/0.8718, allocations: 5.609 MB / 0.7307 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.8718, allocations: 0 / 0.7307 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.8732, allocations: 163.7 kB / 0.7308 GB, free: 480 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006041/0.8793, allocations: 1.407 MB / 0.7322 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001754/0.8794, allocations: 15.98 kB / 0.7322 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/0.8927, allocations: 6.318 MB / 0.7384 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.8927, allocations: 3.953 kB / 0.7384 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/0.9045, allocations: 4.471 MB / 0.7427 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009076/0.9054, allocations: 298.9 kB / 0.743 GB, free: 3.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.9057, allocations: 11.95 kB / 0.743 GB, free: 3.781 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/0.9072, allocations: 83.92 kB / 0.7431 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005804/0.9077, allocations: 189.4 kB / 0.7433 GB, free: 3.516 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-05/0.9079, allocations: 35.98 kB / 0.7433 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001388/0.9092, allocations: 0.9566 MB / 0.7443 GB, free: 2.527 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9093, allocations: 0 / 0.7443 GB, free: 2.527 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001256/0.9105, allocations: 431.5 kB / 0.7447 GB, free: 2.105 MB / 0.5417 GB 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.01189/0.9224, allocations: 5.095 MB / 0.7496 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005895/0.9284, allocations: 1.918 MB / 0.7515 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.9284, allocations: 4 kB / 0.7515 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003909/0.9323, allocations: 1.417 MB / 0.7529 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.9337, allocations: 126.6 kB / 0.753 GB, free: 9.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005771/0.9395, allocations: 3.112 MB / 0.7561 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006969/0.9402, allocations: 1.269 MB / 0.7573 GB, free: 5.09 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006272/0.9408, allocations: 129.1 kB / 0.7574 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008325/0.9416, allocations: 0.6086 MB / 0.758 GB, free: 4.352 MB / 0.5573 GB Notification: Performance of SimCode: time 8.02e-07/0.9417, allocations: 5.031 kB / 0.758 GB, free: 4.348 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4104/1.352, allocations: 35.95 MB / 0.7931 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/1.352, allocations: 164.8 kB / 0.7933 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.322/4.674, allocations: 0 / 0.7933 GB, free: 138.4 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)