Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.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.Tests.Machines.PSSE.GENROU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU") translateModel(OpenIPSL.Tests.Machines.PSSE.GENROU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 239.3 MB, free: 4.59 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.001279/0.001279, allocations: 196.5 kB / 289.5 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5078/0.5078, allocations: 91.89 MB / 431.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 80.2 kB / 0.5019 GB, free: 7.738 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3654, allocations: 71.26 MB / 0.5715 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROU): time 0.006968/0.3724, allocations: 7.269 MB / 0.5786 GB, free: 32.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004764/0.3772, allocations: 2.309 MB / 0.5808 GB, free: 30.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.3787, allocations: 8.688 kB / 0.5808 GB, free: 30.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.3797, allocations: 279.5 kB / 0.5811 GB, free: 30.65 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003222/0.383, allocations: 1.053 MB / 0.5821 GB, free: 29.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.3844, allocations: 0.5782 MB / 0.5827 GB, free: 29.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002444/0.3869, allocations: 1.818 MB / 0.5844 GB, free: 28.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005394/0.3875, allocations: 331 kB / 0.5848 GB, free: 28.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.3886, allocations: 0.7351 MB / 0.5855 GB, free: 28.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.3898, allocations: 0.9777 MB / 0.5864 GB, free: 27.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003209/0.3901, allocations: 147.6 kB / 0.5866 GB, free: 27.85 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.3913, allocations: 384.3 kB / 0.5869 GB, free: 27.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003511/0.3917, allocations: 369.9 kB / 0.5873 GB, free: 27.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.3927, allocations: 0.7745 MB / 0.5881 GB, free: 27.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003682/0.3964, allocations: 1.898 MB / 0.5899 GB, free: 26.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3964, allocations: 0 / 0.5899 GB, free: 26.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3965, allocations: 1.188 kB / 0.5899 GB, free: 26.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.563e-05/0.3965, allocations: 4 kB / 0.5899 GB, free: 26.18 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.01299/0.4095, allocations: 3.23 MB / 0.5931 GB, free: 24.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.4096, allocations: 12.44 kB / 0.5931 GB, free: 24.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004982/0.4146, allocations: 0.7216 MB / 0.5938 GB, free: 24.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/0.4166, allocations: 0.9577 MB / 0.5947 GB, free: 24.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003562/0.417, allocations: 349.9 kB / 0.5951 GB, free: 23.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/0.4172, allocations: 92.84 kB / 0.5951 GB, free: 23.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002645/0.4198, allocations: 1.249 MB / 0.5964 GB, free: 23.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.4199, allocations: 5 kB / 0.5964 GB, free: 23.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.42, allocations: 30.72 kB / 0.5964 GB, free: 23.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.42, allocations: 19.06 kB / 0.5964 GB, free: 23.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/0.4227, allocations: 1.183 MB / 0.5976 GB, free: 22.8 MB / 430.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.00816/0.4308, allocations: 4.182 MB / 0.6017 GB, free: 20.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008225/0.4391, allocations: 2.698 MB / 0.6043 GB, free: 19.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002419/0.4415, allocations: 0.8416 MB / 0.6051 GB, free: 18.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/0.4417, allocations: 23.11 kB / 0.6051 GB, free: 18.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.4418, allocations: 44.84 kB / 0.6052 GB, free: 18.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.817e-06/0.4418, allocations: 0 / 0.6052 GB, free: 18.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.04373/0.4855, allocations: 9.834 MB / 0.6148 GB, free: 15.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.4856, allocations: 89.64 kB / 0.6149 GB, free: 15.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/0.4883, allocations: 1.175 MB / 0.616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000463/0.4888, allocations: 46.17 kB / 0.6161 GB, free: 15.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000502/0.4893, allocations: 0.5076 MB / 0.6165 GB, free: 14.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006737/0.49, allocations: 401.4 kB / 0.6169 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009527/0.4909, allocations: 297.2 kB / 0.6172 GB, free: 14.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.08e-05/0.491, allocations: 302.6 kB / 0.6175 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/0.493, allocations: 0.883 MB / 0.6184 GB, free: 13.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002173/0.4952, allocations: 1.073 MB / 0.6194 GB, free: 12.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00373/0.499, allocations: 1.917 MB / 0.6213 GB, free: 11.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.499, allocations: 0 / 0.6213 GB, free: 11.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01591/0.5149, allocations: 5.145 MB / 0.6263 GB, free: 5.852 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.515, allocations: 4 kB / 0.6263 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.515, allocations: 4 kB / 0.6263 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009015/0.524, allocations: 2.648 MB / 0.6289 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.5253, allocations: 247.6 kB / 0.6291 GB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006189/0.5315, allocations: 2.703 MB / 0.6318 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/0.5341, allocations: 202.6 kB / 0.632 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003185/0.5345, allocations: 51.98 kB / 0.632 GB, free: 15.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (150): * Single equations (assignments): 149 * 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,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0008425/0.5353, allocations: 266.6 kB / 0.6323 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005717/0.5359, allocations: 142.3 kB / 0.6324 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0163/0.5522, allocations: 4.59 MB / 0.6369 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.727e-05/0.5523, allocations: 16 kB / 0.6369 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.5523, allocations: 0 / 0.6369 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.452e-05/0.5523, allocations: 11.91 kB / 0.6369 GB, free: 10.91 MB / 446.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.0206/0.573, allocations: 6.436 MB / 0.6432 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/0.573, allocations: 0 / 0.6432 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008118/0.5738, allocations: 111.8 kB / 0.6433 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008288/0.5821, allocations: 2.142 MB / 0.6454 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003471/0.5825, allocations: 27.98 kB / 0.6454 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02891/0.6115, allocations: 10.08 MB / 0.6553 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.6115, allocations: 0 / 0.6553 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01904/0.6306, allocations: 5.737 MB / 0.6609 GB, free: 2.066 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006503/0.6313, allocations: 243.1 kB / 0.6611 GB, free: 1.809 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005614/0.6318, allocations: 16 kB / 0.6611 GB, free: 1.793 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/0.6336, allocations: 111.9 kB / 0.6612 GB, free: 1.684 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008591/0.6345, allocations: 245.1 kB / 0.6615 GB, free: 1.445 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/0.6346, allocations: 28 kB / 0.6615 GB, free: 1.418 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001265/0.6359, allocations: 0.7804 MB / 0.6622 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6359, allocations: 0 / 0.6622 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001793/0.6377, allocations: 491.5 kB / 0.6627 GB, free: 156 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,gENCLS.omega) * 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 (68): * Single equations (assignments): 67 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003668/0.6381, allocations: 147.2 kB / 0.6629 GB, free: 0 / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009226/0.6473, allocations: 2.68 MB / 0.6655 GB, free: 13.32 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.6474, allocations: 0 / 0.6655 GB, free: 13.32 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0064/0.6538, allocations: 1.827 MB / 0.6673 GB, free: 11.48 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/0.6557, allocations: 124.7 kB / 0.6674 GB, free: 11.36 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005507/0.6613, allocations: 2.618 MB / 0.6699 GB, free: 8.715 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007794/0.6621, allocations: 1.135 MB / 0.671 GB, free: 7.547 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005421/0.6626, allocations: 108.5 kB / 0.6711 GB, free: 7.438 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003988/0.663, allocations: 83.42 kB / 0.6712 GB, free: 7.355 MB / 478.1 MB Notification: Performance of SimCode: time 2.495e-06/0.663, allocations: 4 kB / 0.6712 GB, free: 7.352 MB / 478.1 MB Notification: Performance of Templates: time 0.04742/0.7105, allocations: 27.25 MB / 0.6978 GB, free: 12.1 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe 2>&1)