Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.459/1.459, allocations: 223.3 MB / 239.4 MB, free: 5.41 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.001541/0.001541, allocations: 180.5 kB / 290.6 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5615/0.5615, allocations: 91.92 MB / 433.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003833, allocations: 8 kB / 0.5048 GB, free: 7.281 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4868/0.4872, allocations: 72.46 MB / 0.5755 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A): time 0.009113/0.4963, allocations: 8.905 MB / 0.5842 GB, free: 30.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007316/0.5037, allocations: 2.985 MB / 0.5871 GB, free: 28.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002451/0.5062, allocations: 16.44 kB / 0.5872 GB, free: 28.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.5077, allocations: 272.2 kB / 0.5874 GB, free: 28.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004107/0.5119, allocations: 0.9078 MB / 0.5883 GB, free: 27.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.5142, allocations: 0.9447 MB / 0.5892 GB, free: 27.28 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003831/0.518, allocations: 2.381 MB / 0.5915 GB, free: 26.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009008/0.519, allocations: 487.5 kB / 0.592 GB, free: 25.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.5208, allocations: 0.8375 MB / 0.5928 GB, free: 25.53 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.5224, allocations: 1.101 MB / 0.5939 GB, free: 25.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004525/0.5229, allocations: 96.97 kB / 0.594 GB, free: 25.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.524, allocations: 373.3 kB / 0.5944 GB, free: 24.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004178/0.5244, allocations: 401.2 kB / 0.5947 GB, free: 24.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.5256, allocations: 0.9208 MB / 0.5956 GB, free: 24.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002948/0.5285, allocations: 2.533 MB / 0.5981 GB, free: 23.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5285, allocations: 0 / 0.5981 GB, free: 23.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5285, allocations: 5 kB / 0.5981 GB, free: 23.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.521e-05/0.5286, allocations: 0 / 0.5981 GB, free: 23.23 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.01354/0.5422, allocations: 3.583 MB / 0.6016 GB, free: 21.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.5422, allocations: 9.344 kB / 0.6016 GB, free: 21.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005796/0.548, allocations: 0.7827 MB / 0.6024 GB, free: 21.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004485/0.5526, allocations: 1.255 MB / 0.6036 GB, free: 20.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008513/0.5535, allocations: 0.5062 MB / 0.6041 GB, free: 20.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009802/0.5545, allocations: 124.3 kB / 0.6042 GB, free: 20.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007249/0.5617, allocations: 1.719 MB / 0.6059 GB, free: 19.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.117e-05/0.5618, allocations: 0 / 0.6059 GB, free: 19.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004243/0.5623, allocations: 49.38 kB / 0.606 GB, free: 19.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.195e-05/0.5623, allocations: 27.25 kB / 0.606 GB, free: 19.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005394/0.5678, allocations: 1.618 MB / 0.6076 GB, free: 19.11 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.01609/0.5839, allocations: 5.719 MB / 0.6131 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01168/0.5956, allocations: 3.778 MB / 0.6168 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003028/0.5987, allocations: 1.097 MB / 0.6179 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006362/0.5994, allocations: 0.7359 MB / 0.6186 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003681/0.6031, allocations: 1.258 MB / 0.6199 GB, free: 12.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=139): time 1.238e-05/0.6031, allocations: 1.062 kB / 0.6199 GB, free: 12.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=139): time 0.04708/0.6502, allocations: 12.13 MB / 0.6317 GB, free: 3.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/0.6503, allocations: 145.8 kB / 0.6318 GB, free: 3.238 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003254/0.6536, allocations: 1.569 MB / 0.6334 GB, free: 1.664 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005907/0.6542, allocations: 57.64 kB / 0.6334 GB, free: 1.602 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006232/0.6548, allocations: 0.6753 MB / 0.6341 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008623/0.6557, allocations: 0.5007 MB / 0.6346 GB, free: 416 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006348/0.6564, allocations: 189.8 kB / 0.6348 GB, free: 220 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.6565, allocations: 309 kB / 0.635 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003254/0.6597, allocations: 1.171 MB / 0.6362 GB, free: 14.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003471/0.6632, allocations: 1.408 MB / 0.6376 GB, free: 13.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006164/0.6694, allocations: 2.466 MB / 0.64 GB, free: 10.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.6694, allocations: 0 / 0.64 GB, free: 10.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.01303/0.6825, allocations: 4.582 MB / 0.6444 GB, free: 6.133 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.6827, allocations: 212.9 kB / 0.6447 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.6827, allocations: 7.938 kB / 0.6447 GB, free: 5.859 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/0.6937, allocations: 3.164 MB / 0.6477 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/0.6958, allocations: 359.5 kB / 0.6481 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008461/0.7043, allocations: 3.677 MB / 0.6517 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003589/0.7079, allocations: 342 kB / 0.652 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000541/0.7084, allocations: 79.97 kB / 0.6521 GB, free: 14.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.7085, allocations: 4 kB / 0.6521 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01271/0.7212, allocations: 4.363 MB / 0.6564 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.7213, allocations: 4 kB / 0.6564 GB, free: 9.816 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01164/0.7329, allocations: 3.156 MB / 0.6594 GB, free: 6.652 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002445/0.7354, allocations: 347.5 kB / 0.6598 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008948/0.7444, allocations: 3.676 MB / 0.6634 GB, free: 2.582 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003676/0.7481, allocations: 302.4 kB / 0.6636 GB, free: 2.285 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005275/0.7487, allocations: 79.97 kB / 0.6637 GB, free: 2.207 MB / 462.1 MB 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,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(30,26), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001467/0.7502, allocations: 408.7 kB / 0.6641 GB, free: 1.797 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008386/0.751, allocations: 177.8 kB / 0.6643 GB, free: 1.621 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01971/0.7708, allocations: 6.126 MB / 0.6703 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.22e-05/0.7708, allocations: 12 kB / 0.6703 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/0.7709, allocations: 0 / 0.6703 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.082e-05/0.7709, allocations: 11.97 kB / 0.6703 GB, free: 11.45 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 postOpt removeSimpleEquations (simulation): time 0.02428/0.7952, allocations: 8.356 MB / 0.6784 GB, free: 2.965 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/0.7953, allocations: 3.938 kB / 0.6785 GB, free: 2.961 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/0.7966, allocations: 183.7 kB / 0.6786 GB, free: 2.781 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008387/0.805, allocations: 2.521 MB / 0.6811 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004005/0.8054, allocations: 31.98 kB / 0.6811 GB, free: 228 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02716/0.8326, allocations: 10.32 MB / 0.6912 GB, free: 5.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.8327, allocations: 0 / 0.6912 GB, free: 5.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02252/0.8552, allocations: 7.408 MB / 0.6984 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009472/0.8562, allocations: 298.5 kB / 0.6987 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008518/0.857, allocations: 28 kB / 0.6987 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/0.8596, allocations: 203.8 kB / 0.6989 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001151/0.8608, allocations: 285.2 kB / 0.6992 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002652/0.861, allocations: 35.98 kB / 0.6992 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002213/0.8633, allocations: 1.053 MB / 0.7003 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.11e-07/0.8633, allocations: 0 / 0.7003 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004076/0.8674, allocations: 0.9402 MB / 0.7012 GB, free: 11.47 MB / 0.4981 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,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.y) * 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 (96): * Single equations (assignments): 95 * 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.0005768/0.868, allocations: 167 kB / 0.7014 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01875/0.8867, allocations: 5.914 MB / 0.7071 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.8868, allocations: 0 / 0.7071 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007286/0.8941, allocations: 2.284 MB / 0.7094 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002865/0.897, allocations: 167.3 kB / 0.7095 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00906/0.9061, allocations: 4.282 MB / 0.7137 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/0.9073, allocations: 1.304 MB / 0.715 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001389/0.9087, allocations: 211.1 kB / 0.7152 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005532/0.9093, allocations: 103.4 kB / 0.7153 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of SimCode: time 6.21e-07/0.9093, allocations: 4 kB / 0.7153 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of Templates: time 0.0648/0.9741, allocations: 35.58 MB / 0.75 GB, free: 9.414 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1)