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.08163/0.08163, allocations: 12.6 MB / 28.9 MB, free: 0.6094 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.001329/0.001329, allocations: 111.5 kB / 32.5 MB, free: 3.547 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.414/1.414, allocations: 205.1 MB / 241.1 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.001481/0.001481, allocations: 192.5 kB / 291.4 MB, free: 13.37 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4459/0.4459, allocations: 78.51 MB / 420 MB, free: 11.23 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.00412/0.00412, allocations: 148.1 kB / 0.5565 GB, free: 28.38 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1124, allocations: 68.13 MB / 0.623 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.009662/0.1221, allocations: 8.29 MB / 0.6311 GB, free: 7.074 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005252/0.1273, allocations: 2.589 MB / 0.6337 GB, free: 4.477 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008091/0.1281, allocations: 8 kB / 0.6337 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007285/0.1289, allocations: 313.4 kB / 0.634 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004029/0.1329, allocations: 1.536 MB / 0.6355 GB, free: 2.633 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.1343, allocations: 0.6004 MB / 0.6361 GB, free: 2.035 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003365/0.1376, allocations: 2.562 MB / 0.6386 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000438/0.1381, allocations: 216.8 kB / 0.6388 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.1394, allocations: 1.008 MB / 0.6398 GB, free: 14.22 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/0.1411, allocations: 1.358 MB / 0.6411 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003746/0.1415, allocations: 204 kB / 0.6413 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007488/0.1422, allocations: 383.8 kB / 0.6416 GB, free: 12.28 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004905/0.1427, allocations: 0.5215 MB / 0.6421 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.1437, allocations: 0.9868 MB / 0.6431 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002818/0.1465, allocations: 2.381 MB / 0.6454 GB, free: 8.375 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1465, allocations: 0 / 0.6454 GB, free: 8.375 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1465, allocations: 0 / 0.6454 GB, free: 8.375 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.965e-05/0.1466, allocations: 0 / 0.6454 GB, free: 8.375 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.02197/0.1685, allocations: 5.01 MB / 0.6503 GB, free: 3.301 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1686, allocations: 11.98 kB / 0.6503 GB, free: 3.289 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003683/0.1722, allocations: 0.5849 MB / 0.6509 GB, free: 2.703 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.1745, allocations: 1.233 MB / 0.6521 GB, free: 1.422 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/0.1748, allocations: 264.8 kB / 0.6524 GB, free: 1.129 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000262/0.1751, allocations: 119.9 kB / 0.6525 GB, free: 1.012 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.1775, allocations: 1.089 MB / 0.6535 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.1775, allocations: 7.875 kB / 0.6536 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.1776, allocations: 36 kB / 0.6536 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.1776, allocations: 20 kB / 0.6536 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/0.1802, allocations: 1.179 MB / 0.6548 GB, free: 14.67 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.008269/0.1885, allocations: 4.599 MB / 0.6592 GB, free: 9.852 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003613/0.1921, allocations: 2.055 MB / 0.6613 GB, free: 7.617 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00156/0.1936, allocations: 0.7191 MB / 0.662 GB, free: 6.891 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.1938, allocations: 29.28 kB / 0.662 GB, free: 6.863 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.1938, allocations: 47.88 kB / 0.662 GB, free: 6.805 MB / 478.1 MB Notification: Performance of pre-optimization done (n=130): time 3.156e-06/0.1938, allocations: 0 / 0.662 GB, free: 6.805 MB / 478.1 MB Notification: Performance of matching and sorting (n=130): time 0.0284/0.2222, allocations: 6.664 MB / 0.6685 GB, free: 112 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.2223, allocations: 68.72 kB / 0.6686 GB, free: 32 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/0.2249, allocations: 1.655 MB / 0.6702 GB, free: 14.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003364/0.2252, allocations: 57.7 kB / 0.6703 GB, free: 14.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005007/0.2257, allocations: 0.5543 MB / 0.6708 GB, free: 13.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005897/0.2263, allocations: 0.5191 MB / 0.6713 GB, free: 13.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008724/0.2272, allocations: 0.5134 MB / 0.6718 GB, free: 12.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2273, allocations: 305.1 kB / 0.6721 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00239/0.2297, allocations: 1.142 MB / 0.6732 GB, free: 11.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002633/0.2323, allocations: 1.368 MB / 0.6746 GB, free: 9.859 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004833/0.2372, allocations: 2.342 MB / 0.6769 GB, free: 7.477 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.2372, allocations: 0 / 0.6769 GB, free: 7.477 MB / 494.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01022/0.2474, allocations: 4.04 MB / 0.6808 GB, free: 3.395 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.2474, allocations: 8 kB / 0.6808 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.2474, allocations: 0 / 0.6808 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01134/0.2588, allocations: 2.819 MB / 0.6836 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002467/0.2613, allocations: 487.3 kB / 0.684 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006167/0.2674, allocations: 2.531 MB / 0.6865 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/0.2703, allocations: 246.5 kB / 0.6867 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003363/0.2706, allocations: 87.97 kB / 0.6868 GB, free: 13.2 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.0007015/0.2713, allocations: 317.3 kB / 0.6871 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000422/0.2717, allocations: 178.8 kB / 0.6873 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/0.2835, allocations: 3.519 MB / 0.6907 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.2835, allocations: 16 kB / 0.6907 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.2835, allocations: 3.984 kB / 0.6907 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/0.2835, allocations: 7.969 kB / 0.6908 GB, free: 9.133 MB / 0.4981 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.01473/0.2983, allocations: 5.615 MB / 0.6962 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.2983, allocations: 0 / 0.6962 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.2993, allocations: 171.8 kB / 0.6964 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005859/0.3052, allocations: 1.48 MB / 0.6978 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/0.3054, allocations: 31.92 kB / 0.6979 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02029/0.3257, allocations: 7.862 MB / 0.7056 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3257, allocations: 0 / 0.7056 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01394/0.3396, allocations: 4.551 MB / 0.71 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007242/0.3403, allocations: 311.7 kB / 0.7103 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002804/0.3406, allocations: 20 kB / 0.7103 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/0.3421, allocations: 79.92 kB / 0.7104 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005787/0.3427, allocations: 193.5 kB / 0.7106 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.576e-05/0.3428, allocations: 39.98 kB / 0.7106 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001644/0.3444, allocations: 1.086 MB / 0.7117 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3444, allocations: 4 kB / 0.7117 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001635/0.3461, allocations: 0.5895 MB / 0.7123 GB, free: 2.754 MB / 0.5137 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.0003283/0.3464, allocations: 155 kB / 0.7124 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.2414/0.5878, allocations: 2.742 MB / 0.7151 GB, free: 85.39 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.5878, allocations: 0.7812 kB / 0.7151 GB, free: 85.39 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005606/0.5934, allocations: 1.448 MB / 0.7165 GB, free: 85.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.5949, allocations: 131.5 kB / 0.7166 GB, free: 85.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006329/0.6012, allocations: 3.528 MB / 0.7201 GB, free: 83.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008575/0.6021, allocations: 1.237 MB / 0.7213 GB, free: 82.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009254/0.603, allocations: 157.8 kB / 0.7214 GB, free: 82.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005093/0.6035, allocations: 106.7 kB / 0.7215 GB, free: 82.83 MB / 0.5137 GB Notification: Performance of SimCode: time 1.472e-06/0.6035, allocations: 0 / 0.7215 GB, free: 82.83 MB / 0.5137 GB Notification: Performance of Templates: time 0.04817/0.6517, allocations: 31.07 MB / 0.7519 GB, free: 67.77 MB / 0.5137 GB 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 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)