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/ModelicaServices 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/Complex 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 108 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 240.1 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 196.5 kB / 290.4 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5158/0.5158, allocations: 91.9 MB / 432.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 83.06 kB / 0.5734 GB, free: 33.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1496, allocations: 71.28 MB / 0.643 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.009159/0.1588, allocations: 8.242 MB / 0.651 GB, free: 11.33 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005912/0.1647, allocations: 2.6 MB / 0.6536 GB, free: 8.727 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.1664, allocations: 12 kB / 0.6536 GB, free: 8.715 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.1676, allocations: 317.3 kB / 0.6539 GB, free: 8.402 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003864/0.1715, allocations: 1.146 MB / 0.655 GB, free: 7.254 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.1731, allocations: 0.6868 MB / 0.6557 GB, free: 6.57 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003446/0.1766, allocations: 2.371 MB / 0.658 GB, free: 4.191 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006381/0.1772, allocations: 320.8 kB / 0.6583 GB, free: 3.859 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.1787, allocations: 0.9534 MB / 0.6592 GB, free: 2.902 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002338/0.1811, allocations: 1.323 MB / 0.6605 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009012/0.182, allocations: 200 kB / 0.6607 GB, free: 1.379 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.1835, allocations: 387.8 kB / 0.6611 GB, free: 1 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007878/0.1843, allocations: 0.4982 MB / 0.6616 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001563/0.1859, allocations: 0.9791 MB / 0.6625 GB, free: 15.51 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003496/0.1894, allocations: 2.32 MB / 0.6648 GB, free: 13.19 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.1894, allocations: 4 kB / 0.6648 GB, free: 13.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1894, allocations: 0 / 0.6648 GB, free: 13.18 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.878e-05/0.1895, allocations: 0 / 0.6648 GB, free: 13.18 MB / 478.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.01752/0.207, allocations: 4.102 MB / 0.6688 GB, free: 9.023 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.2071, allocations: 8.031 kB / 0.6688 GB, free: 9.016 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003865/0.211, allocations: 0.5799 MB / 0.6694 GB, free: 8.434 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/0.2138, allocations: 1.212 MB / 0.6705 GB, free: 7.172 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003255/0.2141, allocations: 268.8 kB / 0.6708 GB, free: 6.871 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004198/0.2146, allocations: 116 kB / 0.6709 GB, free: 6.758 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00265/0.2172, allocations: 1.089 MB / 0.672 GB, free: 5.66 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.2173, allocations: 3.984 kB / 0.672 GB, free: 5.656 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.2174, allocations: 36 kB / 0.672 GB, free: 5.621 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.2174, allocations: 20 kB / 0.672 GB, free: 5.602 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002512/0.22, allocations: 1.175 MB / 0.6732 GB, free: 4.43 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.008665/0.2286, allocations: 4.614 MB / 0.6777 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003411/0.2321, allocations: 2.139 MB / 0.6798 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/0.2336, allocations: 0.7895 MB / 0.6805 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.2337, allocations: 29.2 kB / 0.6806 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.2337, allocations: 47.81 kB / 0.6806 GB, free: 12.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 3.266e-06/0.2338, allocations: 0 / 0.6806 GB, free: 12.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=130): time 0.02724/0.261, allocations: 6.691 MB / 0.6871 GB, free: 5.656 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/0.2611, allocations: 64.72 kB / 0.6872 GB, free: 5.582 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003256/0.2644, allocations: 1.655 MB / 0.6888 GB, free: 3.918 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003958/0.2648, allocations: 57.7 kB / 0.6889 GB, free: 3.855 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006666/0.2655, allocations: 0.5535 MB / 0.6894 GB, free: 3.293 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007906/0.2663, allocations: 0.4893 MB / 0.6899 GB, free: 2.797 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001584/0.2679, allocations: 0.5133 MB / 0.6904 GB, free: 2.277 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.268, allocations: 305.1 kB / 0.6907 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002547/0.2706, allocations: 1.145 MB / 0.6918 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002668/0.2733, allocations: 1.356 MB / 0.6931 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004735/0.278, allocations: 2.338 MB / 0.6954 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.278, allocations: 0 / 0.6954 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009978/0.288, allocations: 4.086 MB / 0.6994 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.2881, allocations: 7.984 kB / 0.6994 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.2881, allocations: 4 kB / 0.6994 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0111/0.2992, allocations: 2.827 MB / 0.7022 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002778/0.302, allocations: 479.3 kB / 0.7026 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006064/0.3081, allocations: 2.523 MB / 0.7051 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003346/0.3115, allocations: 241.8 kB / 0.7053 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004921/0.312, allocations: 99.95 kB / 0.7054 GB, free: 2.738 MB / 0.4981 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 () * 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.001054/0.3131, allocations: 309.3 kB / 0.7057 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007435/0.3138, allocations: 173.8 kB / 0.7059 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/0.3251, allocations: 3.55 MB / 0.7094 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.3252, allocations: 12 kB / 0.7094 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.3252, allocations: 0 / 0.7094 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-05/0.3252, allocations: 11.97 kB / 0.7094 GB, free: 14.66 MB / 0.5137 GB 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.01436/0.3396, allocations: 5.646 MB / 0.7149 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.3396, allocations: 4 kB / 0.7149 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.3407, allocations: 163.7 kB / 0.7151 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005343/0.346, allocations: 1.48 MB / 0.7165 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001979/0.3462, allocations: 31.92 kB / 0.7165 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01925/0.3655, allocations: 7.841 MB / 0.7242 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3656, allocations: 0 / 0.7242 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0133/0.3789, allocations: 4.562 MB / 0.7286 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008483/0.3798, allocations: 302.8 kB / 0.7289 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005839/0.3804, allocations: 24 kB / 0.729 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/0.3822, allocations: 83.92 kB / 0.729 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006821/0.3829, allocations: 185.5 kB / 0.7292 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/0.3831, allocations: 39.98 kB / 0.7292 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001942/0.385, allocations: 1.09 MB / 0.7303 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.965e-06/0.385, allocations: 0 / 0.7303 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002278/0.3873, allocations: 0.5972 MB / 0.7309 GB, free: 8.254 MB / 0.5294 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 () * 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.0004382/0.3878, allocations: 161.4 kB / 0.731 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008705/0.3965, allocations: 3.006 MB / 0.734 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3965, allocations: 0 / 0.734 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004618/0.4011, allocations: 1.535 MB / 0.7355 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/0.403, allocations: 133.5 kB / 0.7356 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007013/0.41, allocations: 3.503 MB / 0.739 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009687/0.411, allocations: 1.242 MB / 0.7402 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007215/0.4117, allocations: 111.4 kB / 0.7404 GB, free: 14.49 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/0.4117, allocations: 0 / 0.7404 GB, free: 14.49 MB / 0.545 GB Notification: Performance of Templates: time 0.03829/0.45, allocations: 26.64 MB / 0.7664 GB, free: 3.797 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)