Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.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.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.346/1.346, allocations: 223.3 MB / 239 MB, free: 5.445 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.0011/0.0011, allocations: 188.5 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5222/0.5222, allocations: 91.92 MB / 433.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005833/0.0005835, allocations: 11.98 kB / 0.5042 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3335, allocations: 72.46 MB / 0.5749 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS): time 0.003989/0.3375, allocations: 5.41 MB / 0.5802 GB, free: 33.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.3402, allocations: 2.068 MB / 0.5822 GB, free: 31.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003741/0.3406, allocations: 15.19 kB / 0.5822 GB, free: 31.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.3411, allocations: 169.3 kB / 0.5824 GB, free: 31.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.3423, allocations: 0.6011 MB / 0.583 GB, free: 31.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008984/0.3432, allocations: 0.5105 MB / 0.5835 GB, free: 31.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.3443, allocations: 1.583 MB / 0.585 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000323/0.3446, allocations: 237.3 kB / 0.5853 GB, free: 30.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005514/0.3452, allocations: 0.5689 MB / 0.5858 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006267/0.3458, allocations: 0.6745 MB / 0.5865 GB, free: 29.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.3459, allocations: 64.03 kB / 0.5865 GB, free: 29.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003391/0.3463, allocations: 176.7 kB / 0.5867 GB, free: 29.58 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.3465, allocations: 250.4 kB / 0.587 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.3466, allocations: 230.2 kB / 0.5872 GB, free: 29.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009016/0.3475, allocations: 1.482 MB / 0.5886 GB, free: 28.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3476, allocations: 0.9062 kB / 0.5886 GB, free: 28.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3476, allocations: 0 / 0.5886 GB, free: 28.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.3476, allocations: 0 / 0.5886 GB, free: 28.91 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.005703/0.3533, allocations: 2.093 MB / 0.5907 GB, free: 27.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3533, allocations: 9.125 kB / 0.5907 GB, free: 27.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/0.3567, allocations: 0.5566 MB / 0.5912 GB, free: 27.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.3582, allocations: 0.9605 MB / 0.5922 GB, free: 27.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002242/0.3584, allocations: 242.2 kB / 0.5924 GB, free: 27.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.3586, allocations: 74.41 kB / 0.5925 GB, free: 26.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.3604, allocations: 1.015 MB / 0.5934 GB, free: 26.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.3604, allocations: 0 / 0.5934 GB, free: 26.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-05/0.3605, allocations: 25.19 kB / 0.5935 GB, free: 26.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.3605, allocations: 16 kB / 0.5935 GB, free: 26.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.3624, allocations: 0.9671 MB / 0.5944 GB, free: 26.21 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.005466/0.3679, allocations: 3.682 MB / 0.598 GB, free: 24.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/0.3815, allocations: 4.289 MB / 0.6022 GB, free: 23.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.3827, allocations: 0.622 MB / 0.6028 GB, free: 23.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.713e-05/0.3828, allocations: 13.84 kB / 0.6028 GB, free: 23.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.3828, allocations: 50.27 kB / 0.6029 GB, free: 23.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 2.765e-06/0.3828, allocations: 0.9375 kB / 0.6029 GB, free: 23.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.01312/0.396, allocations: 4.554 MB / 0.6073 GB, free: 21.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.396, allocations: 116.5 kB / 0.6074 GB, free: 21.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002003/0.398, allocations: 1.159 MB / 0.6086 GB, free: 21.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.823e-05/0.3981, allocations: 42.02 kB / 0.6086 GB, free: 21.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.3985, allocations: 467.5 kB / 0.6091 GB, free: 20.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.3987, allocations: 284.8 kB / 0.6093 GB, free: 20.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-05/0.3988, allocations: 24.12 kB / 0.6094 GB, free: 20.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.3989, allocations: 343.8 kB / 0.6097 GB, free: 20.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.4002, allocations: 0.6935 MB / 0.6104 GB, free: 19.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.4016, allocations: 0.8223 MB / 0.6112 GB, free: 19.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.403, allocations: 0.7442 MB / 0.6119 GB, free: 19.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.403, allocations: 1 kB / 0.6119 GB, free: 19.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008141/0.4112, allocations: 3.126 MB / 0.6149 GB, free: 18.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.64e-05/0.4112, allocations: 140.1 kB / 0.6151 GB, free: 18.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4113, allocations: 6.016 kB / 0.6151 GB, free: 18.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004349/0.4156, allocations: 1.202 MB / 0.6163 GB, free: 17.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.4169, allocations: 228.8 kB / 0.6165 GB, free: 17.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/0.4273, allocations: 5.103 MB / 0.6215 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.4293, allocations: 202.9 kB / 0.6217 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002117/0.4296, allocations: 39.98 kB / 0.6217 GB, free: 13.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.4296, allocations: 7.953 kB / 0.6217 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007097/0.4367, allocations: 2.926 MB / 0.6246 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4367, allocations: 0 / 0.6246 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003786/0.4405, allocations: 1.203 MB / 0.6257 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.4416, allocations: 211.7 kB / 0.6259 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008794/0.4504, allocations: 5.096 MB / 0.6309 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.4519, allocations: 183.1 kB / 0.6311 GB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.55e-05/0.452, allocations: 39.98 kB / 0.6311 GB, free: 3.535 MB / 430.1 MB 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 (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,59.2%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005493/0.4526, allocations: 344.9 kB / 0.6314 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002746/0.4528, allocations: 122.5 kB / 0.6316 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006138/0.459, allocations: 2.642 MB / 0.6341 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.459, allocations: 8 kB / 0.6342 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.459, allocations: 4 kB / 0.6342 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.459, allocations: 7.984 kB / 0.6342 GB, free: 388 kB / 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 postOpt removeSimpleEquations (simulation): time 0.008562/0.4676, allocations: 4.24 MB / 0.6383 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4676, allocations: 0 / 0.6383 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007502/0.4684, allocations: 111.9 kB / 0.6384 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003312/0.4717, allocations: 1.086 MB / 0.6395 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.4718, allocations: 19.98 kB / 0.6395 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00801/0.4798, allocations: 4.136 MB / 0.6435 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4799, allocations: 0 / 0.6435 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008351/0.4882, allocations: 3.438 MB / 0.6469 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004967/0.4888, allocations: 227.5 kB / 0.6471 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003186/0.4891, allocations: 16 kB / 0.6471 GB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.4904, allocations: 135.9 kB / 0.6472 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003737/0.4908, allocations: 136.4 kB / 0.6474 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/0.4908, allocations: 19.94 kB / 0.6474 GB, free: 2.543 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00159/0.4924, allocations: 0.8153 MB / 0.6482 GB, free: 1.719 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4924, allocations: 0 / 0.6482 GB, free: 1.719 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001998/0.4945, allocations: 0.5852 MB / 0.6488 GB, free: 1.133 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.avr.vm,G1.avr.vr,G1.avr.vf1,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * 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 (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002632/0.4947, allocations: 143 kB / 0.6489 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008836/0.5036, allocations: 3.872 MB / 0.6527 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5036, allocations: 4.188 kB / 0.6527 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003121/0.5067, allocations: 1.369 MB / 0.654 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.5079, allocations: 117.5 kB / 0.6541 GB, free: 11.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004655/0.5125, allocations: 2.73 MB / 0.6568 GB, free: 8.707 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006047/0.5132, allocations: 1.082 MB / 0.6579 GB, free: 7.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007602/0.5139, allocations: 150.9 kB / 0.658 GB, free: 7.438 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.5142, allocations: 71.42 kB / 0.6581 GB, free: 7.367 MB / 462.1 MB Notification: Performance of SimCode: time 1.854e-06/0.5142, allocations: 0 / 0.6581 GB, free: 7.367 MB / 462.1 MB Notification: Performance of Templates: time 0.03268/0.5469, allocations: 20.69 MB / 0.6783 GB, free: 2.738 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.sim & ./OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)