Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_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.001073/0.001073, 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.307/1.307, 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.0009476/0.0009478, allocations: 89.02 kB / 280.4 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5252/0.5252, allocations: 78.93 MB / 410.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.743e-05/1.745e-05, allocations: 0 / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1473, allocations: 69.51 MB / 0.5425 GB, free: 5.832 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4355/0.5828, allocations: 104 MB / 0.6441 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.5831, allocations: 75.95 kB / 0.6442 GB, free: 9.992 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1268/0.7099, allocations: 44.85 MB / 0.688 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.673e-06/0.71, allocations: 0 / 0.688 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001271/0.7101, allocations: 24 kB / 0.688 GB, free: 13.04 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.006148/0.7163, allocations: 1.92 MB / 0.6899 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.7163, allocations: 8.031 kB / 0.6899 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006247/0.7226, allocations: 0.9577 MB / 0.6908 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00345/0.7261, allocations: 1.229 MB / 0.692 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003376/0.7264, allocations: 229.1 kB / 0.6922 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004333/0.7269, allocations: 56 kB / 0.6923 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0023/0.7292, allocations: 0.9802 MB / 0.6932 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.7313, allocations: 0.8428 MB / 0.6941 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.7314, allocations: 0 / 0.6941 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.7315, allocations: 0 / 0.6941 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.7315, allocations: 20 kB / 0.6941 GB, free: 6.656 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.01174/0.7432, allocations: 4.572 MB / 0.6985 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/0.7461, allocations: 1.963 MB / 0.7005 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.7472, allocations: 0.6383 MB / 0.7011 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/0.7474, allocations: 25.86 kB / 0.7011 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.7474, allocations: 43.88 kB / 0.7011 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=130): time 3.827e-06/0.7474, allocations: 0 / 0.7011 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130): time 0.01103/0.7584, allocations: 3.476 MB / 0.7045 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.7585, allocations: 72.67 kB / 0.7046 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003231/0.7618, allocations: 1.424 MB / 0.706 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003468/0.7621, allocations: 30.44 kB / 0.706 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005824/0.7627, allocations: 0.6331 MB / 0.7066 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007395/0.7635, allocations: 457.1 kB / 0.7071 GB, free: 8.883 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.7636, allocations: 0 / 0.7071 GB, free: 8.883 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.7638, allocations: 345.9 kB / 0.7074 GB, free: 8.539 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009348/0.7647, allocations: 0.4908 MB / 0.7079 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.7658, allocations: 0.5876 MB / 0.7085 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.767, allocations: 0.5686 MB / 0.709 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.7671, allocations: 1.5 kB / 0.709 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004009/0.7711, allocations: 1.841 MB / 0.7108 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.7711, allocations: 7.938 kB / 0.7108 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.7711, allocations: 0 / 0.7108 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008735/0.7799, allocations: 2.241 MB / 0.713 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009549/0.7809, allocations: 179.7 kB / 0.7132 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005287/0.7862, allocations: 2.467 MB / 0.7156 GB, free: 104 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/0.7885, allocations: 139 kB / 0.7157 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/0.7887, allocations: 51.91 kB / 0.7158 GB, free: 15.91 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.000317/0.7891, allocations: 121.8 kB / 0.7159 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01082/0.7999, allocations: 3.487 MB / 0.7193 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/0.801, allocations: 169.9 kB / 0.7195 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.8114, allocations: 3.581 MB / 0.723 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.8114, allocations: 19.95 kB / 0.723 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.8114, allocations: 0 / 0.723 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.463e-05/0.8115, allocations: 7.969 kB / 0.723 GB, free: 8.496 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.01328/0.8248, allocations: 5.735 MB / 0.7286 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.8248, allocations: 0 / 0.7286 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009732/0.8258, allocations: 167.8 kB / 0.7287 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004639/0.8304, allocations: 1.403 MB / 0.7301 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/0.8306, allocations: 11.98 kB / 0.7301 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01363/0.8442, allocations: 6.317 MB / 0.7363 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.8443, allocations: 3.953 kB / 0.7363 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/0.8564, allocations: 4.473 MB / 0.7407 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/0.8575, allocations: 334.8 kB / 0.741 GB, free: 5.746 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/0.8578, allocations: 7.953 kB / 0.741 GB, free: 5.738 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/0.8594, allocations: 87.92 kB / 0.7411 GB, free: 5.652 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005708/0.86, allocations: 185.4 kB / 0.7413 GB, free: 5.473 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.274e-05/0.8601, allocations: 39.97 kB / 0.7413 GB, free: 5.434 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001723/0.8618, allocations: 1.105 MB / 0.7424 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8619, allocations: 1.125 kB / 0.7424 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001293/0.8632, allocations: 443.5 kB / 0.7428 GB, free: 3.898 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.01228/0.8754, allocations: 5.083 MB / 0.7478 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005693/0.8812, allocations: 1.918 MB / 0.7496 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8812, allocations: 4 kB / 0.7496 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004038/0.8852, allocations: 1.426 MB / 0.751 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.8868, allocations: 122.3 kB / 0.7511 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006533/0.8933, allocations: 3.129 MB / 0.7542 GB, free: 8.172 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008447/0.8942, allocations: 1.265 MB / 0.7554 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006507/0.8948, allocations: 129.2 kB / 0.7556 GB, free: 6.75 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009455/0.8958, allocations: 0.6164 MB / 0.7562 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of SimCode: time 1.052e-06/0.8958, allocations: 0 / 0.7562 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3715/1.267, allocations: 37.22 MB / 0.7925 GB, free: 138 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/1.268, allocations: 164.4 kB / 0.7927 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.015/4.282, allocations: 1.406 kB / 0.7927 GB, free: 137.8 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)