Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.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.Tests.Controls.PSSE.ES.ESDC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1035/0.1035, allocations: 12.59 MB / 28.23 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.001321/0.001321, allocations: 115.4 kB / 31.84 MB, free: 3.895 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.514/1.514, 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.001262/0.001262, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4728/0.4728, allocations: 78.51 MB / 419.3 MB, free: 11.21 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.002577/0.002577, allocations: 138.8 kB / 0.5559 GB, free: 28.67 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1544, allocations: 68.14 MB / 0.6224 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.009575/0.164, allocations: 8.802 MB / 0.631 GB, free: 6.559 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006354/0.1704, allocations: 2.806 MB / 0.6337 GB, free: 3.742 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.172, allocations: 16 kB / 0.6338 GB, free: 3.727 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.1733, allocations: 345.1 kB / 0.6341 GB, free: 3.387 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003742/0.1771, allocations: 1.297 MB / 0.6354 GB, free: 2.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.1793, allocations: 0.8575 MB / 0.6362 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003838/0.1832, allocations: 2.564 MB / 0.6387 GB, free: 14.67 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.1842, allocations: 490.1 kB / 0.6392 GB, free: 14.16 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001719/0.186, allocations: 0.9844 MB / 0.6401 GB, free: 13.17 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.188, allocations: 1.21 MB / 0.6413 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008367/0.1888, allocations: 204 kB / 0.6415 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.1902, allocations: 479.6 kB / 0.642 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007807/0.191, allocations: 0.4981 MB / 0.6424 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001573/0.1925, allocations: 0.9829 MB / 0.6434 GB, free: 9.797 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00355/0.1961, allocations: 2.587 MB / 0.6459 GB, free: 7.199 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1961, allocations: 0 / 0.6459 GB, free: 7.199 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1961, allocations: 0 / 0.6459 GB, free: 7.199 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.393e-05/0.1962, allocations: 0 / 0.6459 GB, free: 7.199 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.01504/0.2113, allocations: 4.103 MB / 0.6499 GB, free: 3.035 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2113, allocations: 15.98 kB / 0.65 GB, free: 3.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004792/0.2161, allocations: 0.7793 MB / 0.6507 GB, free: 2.238 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002665/0.2188, allocations: 1.236 MB / 0.6519 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005231/0.2193, allocations: 462.4 kB / 0.6524 GB, free: 436 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000308/0.2197, allocations: 120 kB / 0.6525 GB, free: 316 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/0.2227, allocations: 1.519 MB / 0.654 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.2227, allocations: 4 kB / 0.654 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.2229, allocations: 40 kB / 0.654 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.2229, allocations: 24 kB / 0.654 GB, free: 14.67 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003056/0.226, allocations: 1.425 MB / 0.6554 GB, free: 13.23 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.01011/0.2361, allocations: 5.395 MB / 0.6607 GB, free: 7.605 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008837/0.2449, allocations: 3.074 MB / 0.6637 GB, free: 4.391 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002126/0.2471, allocations: 0.9712 MB / 0.6646 GB, free: 3.414 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000678/0.2478, allocations: 0.7258 MB / 0.6653 GB, free: 2.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002444/0.2503, allocations: 1.128 MB / 0.6665 GB, free: 1.371 MB / 478.1 MB Notification: Performance of pre-optimization done (n=133): time 4.378e-06/0.2503, allocations: 0 / 0.6665 GB, free: 1.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=133): time 0.04138/0.2917, allocations: 9.765 MB / 0.676 GB, free: 7.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.2918, allocations: 124.2 kB / 0.6761 GB, free: 7.426 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003257/0.2951, allocations: 1.543 MB / 0.6776 GB, free: 5.875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003928/0.2955, allocations: 57.7 kB / 0.6777 GB, free: 5.812 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000734/0.2963, allocations: 0.6524 MB / 0.6783 GB, free: 5.156 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007877/0.2971, allocations: 0.5036 MB / 0.6788 GB, free: 4.648 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/0.2982, allocations: 367.6 kB / 0.6791 GB, free: 4.281 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.2983, allocations: 305.1 kB / 0.6794 GB, free: 3.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00247/0.3008, allocations: 1.05 MB / 0.6805 GB, free: 2.926 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002905/0.3037, allocations: 1.266 MB / 0.6817 GB, free: 1.594 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005022/0.3087, allocations: 2.224 MB / 0.6839 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.3088, allocations: 4 kB / 0.6839 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.009645/0.3184, allocations: 3.848 MB / 0.6876 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.3185, allocations: 8 kB / 0.6876 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/0.3185, allocations: 7.938 kB / 0.6876 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009513/0.328, allocations: 2.671 MB / 0.6903 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001933/0.33, allocations: 363.5 kB / 0.6906 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006629/0.3366, allocations: 2.699 MB / 0.6932 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/0.3396, allocations: 278.6 kB / 0.6935 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003818/0.34, allocations: 67.98 kB / 0.6936 GB, free: 5.328 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001043/0.3411, allocations: 334.9 kB / 0.6939 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006472/0.3417, allocations: 178.8 kB / 0.6941 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01678/0.3585, allocations: 4.95 MB / 0.6989 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/0.3586, allocations: 16 kB / 0.6989 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.3586, allocations: 0 / 0.6989 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.899e-05/0.3587, allocations: 7.969 kB / 0.6989 GB, free: 15.82 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.02114/0.3798, allocations: 7.12 MB / 0.7059 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.551e-05/0.3799, allocations: 0 / 0.7059 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.3811, allocations: 167.7 kB / 0.706 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007446/0.3886, allocations: 2.142 MB / 0.7081 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002802/0.3889, allocations: 35.98 kB / 0.7082 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.344/0.7329, allocations: 10.06 MB / 0.718 GB, free: 82.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.733, allocations: 4.406 kB / 0.718 GB, free: 82.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01965/0.7526, allocations: 6.136 MB / 0.724 GB, free: 81.01 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007726/0.7534, allocations: 301.1 kB / 0.7243 GB, free: 80.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003097/0.7538, allocations: 24.5 kB / 0.7243 GB, free: 80.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001656/0.7554, allocations: 147.8 kB / 0.7244 GB, free: 80.79 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009335/0.7564, allocations: 269.9 kB / 0.7247 GB, free: 80.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.7565, allocations: 36.94 kB / 0.7247 GB, free: 80.72 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001668/0.7582, allocations: 1.034 MB / 0.7257 GB, free: 80.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3e-07/0.7582, allocations: 3.938 kB / 0.7257 GB, free: 80.31 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001577/0.7598, allocations: 0.5661 MB / 0.7263 GB, free: 80.24 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 89 * 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.0003719/0.7601, allocations: 168.5 kB / 0.7264 GB, free: 80.13 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009011/0.7692, allocations: 3.048 MB / 0.7294 GB, free: 79.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.7692, allocations: 0 / 0.7294 GB, free: 79.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005851/0.775, allocations: 1.993 MB / 0.7314 GB, free: 78.56 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.7763, allocations: 157.3 kB / 0.7315 GB, free: 78.46 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005658/0.782, allocations: 3.38 MB / 0.7348 GB, free: 76.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/0.7826, allocations: 1.273 MB / 0.7361 GB, free: 75.92 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005491/0.7832, allocations: 155.6 kB / 0.7362 GB, free: 75.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003799/0.7836, allocations: 115.6 kB / 0.7363 GB, free: 75.87 MB / 0.5137 GB Notification: Performance of SimCode: time 8.12e-07/0.7836, allocations: 0 / 0.7363 GB, free: 75.87 MB / 0.5137 GB Notification: Performance of Templates: time 0.03639/0.82, allocations: 31.79 MB / 0.7674 GB, free: 50.74 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)