Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1/0.1, allocations: 12.78 MB / 31.61 MB, free: 6.172 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 107.9 kB / 37.74 MB, free: 0.7617 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 207.6 MB / 251.4 MB, free: 2.758 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 196.4 kB / 306.7 MB, free: 11.26 MB / 254.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4895/0.4895, allocations: 79.7 MB / 441.6 MB, free: 11.23 MB / 302.1 MB " [Timeout remaining time 179] 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.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") [Timeout 660] "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.2285/0.2285, allocations: 140.3 kB / 0.5889 GB, free: 51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.3512, allocations: 72.03 MB / 0.6592 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.005065/0.3562, allocations: 6.231 MB / 0.6653 GB, free: 5.363 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003182/0.3594, allocations: 2.204 MB / 0.6674 GB, free: 3.152 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000595/0.36, allocations: 8 kB / 0.6675 GB, free: 3.145 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000462/0.3605, allocations: 230.1 kB / 0.6677 GB, free: 2.918 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002303/0.3628, allocations: 1.207 MB / 0.6689 GB, free: 1.719 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008474/0.3636, allocations: 482.8 kB / 0.6693 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001795/0.3654, allocations: 1.844 MB / 0.6711 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.3657, allocations: 135.9 kB / 0.6712 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.3667, allocations: 0.7356 MB / 0.672 GB, free: 14.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.368, allocations: 0.9574 MB / 0.6729 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002489/0.3682, allocations: 148 kB / 0.673 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006407/0.3688, allocations: 315.8 kB / 0.6733 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003536/0.3692, allocations: 374.7 kB / 0.6737 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006838/0.3699, allocations: 0.6955 MB / 0.6744 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.3721, allocations: 1.732 MB / 0.6761 GB, free: 10.3 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3722, allocations: 0 / 0.6761 GB, free: 10.3 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3722, allocations: 0 / 0.6761 GB, free: 10.3 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.985e-05/0.3722, allocations: 0 / 0.6761 GB, free: 10.3 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01607/0.3883, allocations: 3.678 MB / 0.6797 GB, free: 6.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3883, allocations: 8.031 kB / 0.6797 GB, free: 6.582 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003217/0.3915, allocations: 0.4996 MB / 0.6802 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.3932, allocations: 0.843 MB / 0.681 GB, free: 5.199 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003164/0.3936, allocations: 226.2 kB / 0.6812 GB, free: 4.945 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/0.3937, allocations: 84 kB / 0.6813 GB, free: 4.863 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.3959, allocations: 0.8887 MB / 0.6821 GB, free: 3.969 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.3959, allocations: 0 / 0.6821 GB, free: 3.969 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.791e-05/0.396, allocations: 24 kB / 0.6822 GB, free: 3.945 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.396, allocations: 12 kB / 0.6822 GB, free: 3.934 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/0.3985, allocations: 0.9967 MB / 0.6831 GB, free: 2.938 MB / 462.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.005859/0.4043, allocations: 2.882 MB / 0.686 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003032/0.4074, allocations: 1.024 MB / 0.687 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/0.4088, allocations: 0.6011 MB / 0.6876 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.245e-05/0.4089, allocations: 20.83 kB / 0.6876 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.4089, allocations: 43.56 kB / 0.6876 GB, free: 14.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 2.765e-06/0.4089, allocations: 4 kB / 0.6876 GB, free: 14.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.02889/0.4378, allocations: 6.377 MB / 0.6938 GB, free: 7.828 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.4379, allocations: 68.28 kB / 0.6939 GB, free: 7.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.4399, allocations: 1.141 MB / 0.695 GB, free: 6.59 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003173/0.4402, allocations: 49.7 kB / 0.6951 GB, free: 6.535 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.4406, allocations: 402.3 kB / 0.6955 GB, free: 6.137 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005336/0.4411, allocations: 372.9 kB / 0.6958 GB, free: 5.77 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006865/0.4418, allocations: 367.4 kB / 0.6962 GB, free: 5.402 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.442, allocations: 309.1 kB / 0.6965 GB, free: 5.098 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002153/0.4441, allocations: 0.9097 MB / 0.6973 GB, free: 4.188 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002125/0.4462, allocations: 0.9351 MB / 0.6983 GB, free: 3.254 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004098/0.4503, allocations: 1.813 MB / 0.7 GB, free: 1.441 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.4503, allocations: 0 / 0.7 GB, free: 1.441 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007952/0.4583, allocations: 3.009 MB / 0.703 GB, free: 14.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.4583, allocations: 4 kB / 0.703 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.4583, allocations: 8 kB / 0.703 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009863/0.4682, allocations: 2.276 MB / 0.7052 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/0.4701, allocations: 323.5 kB / 0.7055 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006047/0.4761, allocations: 2.273 MB / 0.7077 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002511/0.4786, allocations: 198.9 kB / 0.7079 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003788/0.479, allocations: 63.97 kB / 0.708 GB, free: 9.25 MB / 494.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 188 * 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 {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0005899/0.4796, allocations: 253.5 kB / 0.7082 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003148/0.4799, allocations: 127.1 kB / 0.7083 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/0.4921, allocations: 3.27 MB / 0.7115 GB, free: 5.586 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/0.4922, allocations: 15.94 kB / 0.7115 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.4922, allocations: 0 / 0.7115 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.958e-05/0.4922, allocations: 3.984 kB / 0.7116 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.4948, allocations: 1.174 MB / 0.7127 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.4948, allocations: 0 / 0.7127 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000854/0.4957, allocations: 115.8 kB / 0.7128 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006255/0.5019, allocations: 1.446 MB / 0.7142 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002351/0.5022, allocations: 16 kB / 0.7142 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02353/0.5257, allocations: 7.739 MB / 0.7218 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5257, allocations: 0 / 0.7218 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/0.5412, allocations: 4.112 MB / 0.7258 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007077/0.5419, allocations: 162.9 kB / 0.726 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000626/0.5426, allocations: 16 kB / 0.726 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/0.5442, allocations: 83.91 kB / 0.7261 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007182/0.5449, allocations: 180.7 kB / 0.7262 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/0.5451, allocations: 31.98 kB / 0.7263 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001681/0.5467, allocations: 0.7601 MB / 0.727 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5467, allocations: 0 / 0.727 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001963/0.5487, allocations: 443.7 kB / 0.7274 GB, free: 5.109 MB / 0.4981 GB 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 () * Number of clocked 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 (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 {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000426/0.5491, allocations: 153.1 kB / 0.7276 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007972/0.5571, allocations: 2.179 MB / 0.7297 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.5571, allocations: 0 / 0.7297 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00485/0.562, allocations: 1.255 MB / 0.7309 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.5634, allocations: 88.3 kB / 0.731 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005784/0.5692, allocations: 2.468 MB / 0.7334 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008759/0.5701, allocations: 1.053 MB / 0.7345 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006648/0.5708, allocations: 107.6 kB / 0.7346 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005159/0.5713, allocations: 75.42 kB / 0.7346 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of SimCode: time 1.453e-06/0.5713, allocations: 0 / 0.7346 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.05116/0.6224, allocations: 25.21 MB / 0.7592 GB, free: 4.43 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.773755172267556] Failed to read output from testmodel.py, exit status != 0: 0.6327716466039419 0.650062834 0.27425222899999996 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7008f3d7b0>