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.0009455/0.0009456, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.324/1.324, allocations: 223.2 MB / 238.9 MB, free: 5.484 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.001112/0.001112, allocations: 189 kB / 290.2 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4436/0.4436, allocations: 79.45 MB / 420.7 MB, free: 3.922 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003484, allocations: 8 kB / 0.489 GB, free: 5.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1303, allocations: 69.51 MB / 0.5569 GB, free: 60 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS): time 0.2553/0.3856, allocations: 5.16 MB / 0.5619 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003882/0.3895, allocations: 2.081 MB / 0.5639 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006224/0.3902, allocations: 11.19 kB / 0.564 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005972/0.3908, allocations: 174 kB / 0.5641 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.3923, allocations: 0.6501 MB / 0.5648 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.3933, allocations: 0.5033 MB / 0.5652 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.3945, allocations: 1.012 MB / 0.5662 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003464/0.3948, allocations: 245 kB / 0.5665 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000605/0.3954, allocations: 0.5718 MB / 0.567 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006151/0.3961, allocations: 0.651 MB / 0.5677 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.3962, allocations: 59.62 kB / 0.5677 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003554/0.3965, allocations: 175.6 kB / 0.5679 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000193/0.3967, allocations: 249 kB / 0.5681 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.3969, allocations: 225.9 kB / 0.5683 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.398, allocations: 1.453 MB / 0.5698 GB, free: 36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.398, allocations: 0.8125 kB / 0.5698 GB, free: 36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.398, allocations: 2.156 kB / 0.5698 GB, free: 36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.3981, allocations: 2.406 kB / 0.5698 GB, free: 36 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.005928/0.404, allocations: 2.094 MB / 0.5718 GB, free: 35.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.404, allocations: 11.08 kB / 0.5718 GB, free: 35.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00321/0.4073, allocations: 0.5545 MB / 0.5724 GB, free: 34.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.409, allocations: 0.9628 MB / 0.5733 GB, free: 34.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.4092, allocations: 246.5 kB / 0.5735 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.4093, allocations: 72.59 kB / 0.5736 GB, free: 34.1 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.411, allocations: 1.008 MB / 0.5746 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.4111, allocations: 0 / 0.5746 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.118e-05/0.4112, allocations: 26.78 kB / 0.5746 GB, free: 33.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.4112, allocations: 16.45 kB / 0.5746 GB, free: 33.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.4129, allocations: 0.962 MB / 0.5756 GB, free: 33.35 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.005321/0.4182, allocations: 3.796 MB / 0.5793 GB, free: 31.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01334/0.4316, allocations: 4.288 MB / 0.5835 GB, free: 30.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.4318, allocations: 8.094 kB / 0.5835 GB, free: 30.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.4318, allocations: 39.09 kB / 0.5835 GB, free: 30.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 3.016e-06/0.4318, allocations: 0 / 0.5835 GB, free: 30.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.01382/0.4457, allocations: 4.561 MB / 0.588 GB, free: 29.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.4457, allocations: 111 kB / 0.5881 GB, free: 28.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/0.448, allocations: 1.162 MB / 0.5892 GB, free: 28.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.4481, allocations: 40.39 kB / 0.5892 GB, free: 28.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.4485, allocations: 467.5 kB / 0.5897 GB, free: 28.08 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.4487, allocations: 290 kB / 0.59 GB, free: 27.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.608e-05/0.4488, allocations: 25.03 kB / 0.59 GB, free: 27.83 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.4489, allocations: 351.4 kB / 0.5903 GB, free: 27.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.4502, allocations: 0.689 MB / 0.591 GB, free: 27.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.4516, allocations: 0.814 MB / 0.5918 GB, free: 26.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.453, allocations: 0.7468 MB / 0.5925 GB, free: 26.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.453, allocations: 3.938 kB / 0.5925 GB, free: 26.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008077/0.4611, allocations: 3.122 MB / 0.5956 GB, free: 25.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.4613, allocations: 0.6158 MB / 0.5962 GB, free: 24.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4613, allocations: 2.75 kB / 0.5962 GB, free: 24.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004433/0.4657, allocations: 1.205 MB / 0.5974 GB, free: 24.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.467, allocations: 224.5 kB / 0.5976 GB, free: 24.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/0.4776, allocations: 5.306 MB / 0.6027 GB, free: 21.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.4796, allocations: 204.7 kB / 0.6029 GB, free: 21.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.4797, allocations: 40.67 kB / 0.603 GB, free: 21.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.4798, allocations: 2.812 kB / 0.603 GB, free: 21.86 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008034/0.4878, allocations: 2.926 MB / 0.6058 GB, free: 21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.4878, allocations: 5.406 kB / 0.6058 GB, free: 21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004358/0.4922, allocations: 1.205 MB / 0.607 GB, free: 20.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.4935, allocations: 215.5 kB / 0.6072 GB, free: 20.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/0.5037, allocations: 5.291 MB / 0.6124 GB, free: 18.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.5054, allocations: 184 kB / 0.6126 GB, free: 17.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.442e-05/0.5055, allocations: 36.25 kB / 0.6126 GB, free: 17.95 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.0006411/0.5062, allocations: 351.7 kB / 0.6129 GB, free: 17.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.5064, allocations: 112.6 kB / 0.6131 GB, free: 17.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006606/0.513, allocations: 2.648 MB / 0.6156 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.513, allocations: 8.812 kB / 0.6156 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.513, allocations: 4 kB / 0.6156 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.5131, allocations: 7.984 kB / 0.6157 GB, free: 15.86 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 postOpt removeSimpleEquations (simulation): time 0.007864/0.5209, allocations: 4.225 MB / 0.6198 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.521, allocations: 3.953 kB / 0.6198 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006604/0.5216, allocations: 113 kB / 0.6199 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002925/0.5246, allocations: 1.082 MB / 0.621 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.23e-05/0.5246, allocations: 27.98 kB / 0.621 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007039/0.5317, allocations: 4.321 MB / 0.6252 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5317, allocations: 0.9375 kB / 0.6252 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007325/0.539, allocations: 3.456 MB / 0.6286 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004546/0.5395, allocations: 227.5 kB / 0.6288 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.5397, allocations: 16 kB / 0.6288 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.5408, allocations: 135.9 kB / 0.6289 GB, free: 2.367 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003117/0.5411, allocations: 132.4 kB / 0.6291 GB, free: 2.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-05/0.5412, allocations: 20.98 kB / 0.6291 GB, free: 2.215 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001278/0.5425, allocations: 0.8153 MB / 0.6299 GB, free: 1.391 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5425, allocations: 0 / 0.6299 GB, free: 1.391 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001639/0.5441, allocations: 0.589 MB / 0.6305 GB, free: 0.8008 MB / 430.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.0002435/0.5444, allocations: 138.7 kB / 0.6306 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008516/0.5529, allocations: 3.871 MB / 0.6344 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.5529, allocations: 7.938 kB / 0.6344 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003096/0.556, allocations: 1.377 MB / 0.6357 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008733/0.5569, allocations: 90.36 kB / 0.6358 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/0.5613, allocations: 2.716 MB / 0.6385 GB, free: 8.457 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.5619, allocations: 1.113 MB / 0.6395 GB, free: 7.312 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006447/0.5625, allocations: 153.9 kB / 0.6397 GB, free: 7.164 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.5628, allocations: 67.42 kB / 0.6398 GB, free: 7.098 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5628, allocations: 0 / 0.6398 GB, free: 7.098 MB / 446.1 MB Notification: Performance of Templates: time 0.0309/0.5937, allocations: 20.68 MB / 0.6599 GB, free: 2.633 MB / 462.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)