Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08115/0.08115, allocations: 12.59 MB / 28.22 MB, free: 0.7656 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 111.4 kB / 31.84 MB, free: 3.906 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 196.5 kB / 290.7 MB, free: 10.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4785/0.4785, allocations: 78.5 MB / 419.3 MB, free: 10.76 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002441/0.002441, allocations: 134.6 kB / 0.5558 GB, free: 17.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1586, allocations: 68.13 MB / 0.6224 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.009177/0.1678, allocations: 8.267 MB / 0.6304 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005985/0.1738, allocations: 2.585 MB / 0.633 GB, free: 2.262 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.1754, allocations: 8 kB / 0.633 GB, free: 2.254 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.1765, allocations: 313.4 kB / 0.6333 GB, free: 1.945 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004583/0.1811, allocations: 1.496 MB / 0.6347 GB, free: 468 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.1826, allocations: 0.6038 MB / 0.6353 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003596/0.1862, allocations: 2.558 MB / 0.6378 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000717/0.187, allocations: 320.8 kB / 0.6381 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.1887, allocations: 1.004 MB / 0.6391 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/0.191, allocations: 1.358 MB / 0.6404 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007538/0.1918, allocations: 204 kB / 0.6406 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.1931, allocations: 383.8 kB / 0.641 GB, free: 10.01 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008299/0.1939, allocations: 0.5254 MB / 0.6415 GB, free: 9.48 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001908/0.1959, allocations: 0.9907 MB / 0.6425 GB, free: 8.484 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004622/0.2005, allocations: 2.377 MB / 0.6448 GB, free: 6.098 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2005, allocations: 0 / 0.6448 GB, free: 6.098 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2005, allocations: 4 kB / 0.6448 GB, free: 6.094 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001612/0.2007, allocations: 0 / 0.6448 GB, free: 6.094 MB / 462.1 MB 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.02345/0.2242, allocations: 5.002 MB / 0.6497 GB, free: 1.027 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.217e-05/0.2243, allocations: 11.98 kB / 0.6497 GB, free: 1.016 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004096/0.2284, allocations: 0.5927 MB / 0.6503 GB, free: 432 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/0.2316, allocations: 1.225 MB / 0.6515 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003447/0.232, allocations: 264.8 kB / 0.6517 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003303/0.2323, allocations: 120 kB / 0.6518 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002359/0.2347, allocations: 1.089 MB / 0.6529 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.2347, allocations: 3.984 kB / 0.6529 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.2349, allocations: 36 kB / 0.6529 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.2349, allocations: 20 kB / 0.653 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.2373, allocations: 1.183 MB / 0.6541 GB, free: 12.4 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.008363/0.2457, allocations: 4.611 MB / 0.6586 GB, free: 7.566 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003418/0.2491, allocations: 2.136 MB / 0.6607 GB, free: 5.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.2507, allocations: 0.8012 MB / 0.6615 GB, free: 4.441 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.2508, allocations: 29.28 kB / 0.6615 GB, free: 4.414 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.2509, allocations: 47.88 kB / 0.6616 GB, free: 4.355 MB / 478.1 MB Notification: Performance of pre-optimization done (n=130): time 3.356e-06/0.2509, allocations: 0 / 0.6616 GB, free: 4.355 MB / 478.1 MB Notification: Performance of matching and sorting (n=130): time 0.02711/0.278, allocations: 6.696 MB / 0.6681 GB, free: 13.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.2781, allocations: 64.72 kB / 0.6682 GB, free: 13.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003467/0.2816, allocations: 1.655 MB / 0.6698 GB, free: 11.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004344/0.282, allocations: 57.7 kB / 0.6698 GB, free: 11.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007159/0.2828, allocations: 0.5582 MB / 0.6704 GB, free: 11.26 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008216/0.2836, allocations: 0.5152 MB / 0.6709 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001612/0.2852, allocations: 0.5212 MB / 0.6714 GB, free: 10.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2853, allocations: 301.1 kB / 0.6717 GB, free: 9.918 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002732/0.2881, allocations: 1.149 MB / 0.6728 GB, free: 8.766 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002889/0.291, allocations: 1.353 MB / 0.6741 GB, free: 7.387 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005009/0.296, allocations: 2.342 MB / 0.6764 GB, free: 5.004 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/0.296, allocations: 4 kB / 0.6764 GB, free: 5 MB / 494.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01069/0.3067, allocations: 4.095 MB / 0.6804 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/0.3068, allocations: 8 kB / 0.6804 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.3069, allocations: 0 / 0.6804 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.407/0.7138, allocations: 2.822 MB / 0.6832 GB, free: 52.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002594/0.7165, allocations: 474.7 kB / 0.6836 GB, free: 52.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006141/0.7226, allocations: 2.534 MB / 0.6861 GB, free: 52.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/0.7256, allocations: 248.8 kB / 0.6863 GB, free: 52.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003667/0.726, allocations: 91.41 kB / 0.6864 GB, free: 52.29 MB / 494.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (281): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(30,38)} Notification: Performance of prepare postOptimizeDAE: time 0.0006919/0.7267, allocations: 308.9 kB / 0.6867 GB, free: 52.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003731/0.7271, allocations: 178.5 kB / 0.6869 GB, free: 52.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/0.7392, allocations: 3.55 MB / 0.6904 GB, free: 51.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/0.7393, allocations: 13.62 kB / 0.6904 GB, free: 51.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/0.7393, allocations: 0 / 0.6904 GB, free: 51.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.224e-05/0.7394, allocations: 10.83 kB / 0.6904 GB, free: 51.57 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01539/0.7548, allocations: 5.653 MB / 0.6959 GB, free: 49.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.7548, allocations: 1.062 kB / 0.6959 GB, free: 49.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.7558, allocations: 165 kB / 0.6961 GB, free: 49.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005338/0.7612, allocations: 1.476 MB / 0.6975 GB, free: 49.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/0.7614, allocations: 36.33 kB / 0.6975 GB, free: 49.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01793/0.7793, allocations: 7.865 MB / 0.7052 GB, free: 45.13 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.7794, allocations: 5.281 kB / 0.7052 GB, free: 45.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01204/0.7914, allocations: 4.572 MB / 0.7097 GB, free: 42.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007251/0.7922, allocations: 309.9 kB / 0.71 GB, free: 42.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/0.7924, allocations: 27.34 kB / 0.71 GB, free: 42.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.7939, allocations: 80.02 kB / 0.7101 GB, free: 42.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005688/0.7944, allocations: 194.8 kB / 0.7103 GB, free: 42.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.76e-05/0.7945, allocations: 39.73 kB / 0.7103 GB, free: 42.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001317/0.7959, allocations: 1.089 MB / 0.7114 GB, free: 41.74 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7959, allocations: 0 / 0.7114 GB, free: 41.74 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001473/0.7974, allocations: 0.5909 MB / 0.7119 GB, free: 41.66 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002653/0.7976, allocations: 151.9 kB / 0.7121 GB, free: 41.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007182/0.8048, allocations: 3.005 MB / 0.715 GB, free: 39.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.8048, allocations: 0 / 0.715 GB, free: 39.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003967/0.8088, allocations: 1.541 MB / 0.7165 GB, free: 38.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.81, allocations: 127.2 kB / 0.7166 GB, free: 38.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005231/0.8152, allocations: 3.527 MB / 0.7201 GB, free: 34.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/0.8158, allocations: 1.237 MB / 0.7213 GB, free: 33.31 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008037/0.8166, allocations: 163.2 kB / 0.7215 GB, free: 33.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004565/0.8171, allocations: 109.4 kB / 0.7216 GB, free: 33.04 MB / 494.1 MB Notification: Performance of SimCode: time 7.81e-07/0.8171, allocations: 0 / 0.7216 GB, free: 33.04 MB / 494.1 MB Notification: Performance of Templates: time 0.03953/0.8566, allocations: 30.87 MB / 0.7517 GB, free: 2.203 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)