Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 221.5 MB / 229.6 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008013/0.0008013, allocations: 93.83 kB / 280.5 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4203/0.4203, allocations: 78.13 MB / 409.4 MB, free: 6.469 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.43e-05/1.434e-05, allocations: 3.984 kB / 485 MB, free: 12.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1126, allocations: 69.36 MB / 0.5413 GB, free: 6.945 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4552/0.5678, allocations: 100.3 MB / 0.6392 GB, free: 15.46 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.568, allocations: 77.28 kB / 0.6393 GB, free: 15.39 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07908/0.6471, allocations: 29.49 MB / 0.6681 GB, free: 1.965 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.6472, allocations: 4 kB / 0.6681 GB, free: 1.961 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.906e-05/0.6473, allocations: 23.94 kB / 0.6681 GB, free: 1.938 MB / 474.7 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.003322/0.6506, allocations: 1.466 MB / 0.6696 GB, free: 436 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.6506, allocations: 12.03 kB / 0.6696 GB, free: 424 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/0.6529, allocations: 422 kB / 0.67 GB, free: 0 / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.6542, allocations: 0.8644 MB / 0.6708 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002595/0.6545, allocations: 221 kB / 0.671 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.6546, allocations: 39.95 kB / 0.6711 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001233/0.6558, allocations: 0.7549 MB / 0.6718 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.6571, allocations: 0.7625 MB / 0.6726 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.6571, allocations: 0 / 0.6726 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/0.6572, allocations: 0 / 0.6726 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.6572, allocations: 16 kB / 0.6726 GB, free: 13.24 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005642/0.6628, allocations: 3.499 MB / 0.676 GB, free: 9.629 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/0.6765, allocations: 3.969 MB / 0.6799 GB, free: 5.613 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007447/0.6772, allocations: 467.2 kB / 0.6803 GB, free: 5.156 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.049e-05/0.6773, allocations: 12.78 kB / 0.6803 GB, free: 5.141 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.6774, allocations: 43.34 kB / 0.6804 GB, free: 5.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.745e-06/0.6774, allocations: 0.9375 kB / 0.6804 GB, free: 5.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005788/0.6832, allocations: 2.097 MB / 0.6824 GB, free: 2.977 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.6832, allocations: 115.6 kB / 0.6825 GB, free: 2.836 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.6845, allocations: 0.866 MB / 0.6834 GB, free: 1.953 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.012e-05/0.6846, allocations: 25.7 kB / 0.6834 GB, free: 1.922 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.685, allocations: 476.7 kB / 0.6839 GB, free: 1.453 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.6852, allocations: 267.9 kB / 0.6841 GB, free: 1.188 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.6853, allocations: 0 / 0.6841 GB, free: 1.188 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.6854, allocations: 341.9 kB / 0.6844 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006168/0.686, allocations: 422.5 kB / 0.6848 GB, free: 444 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006905/0.6867, allocations: 0.516 MB / 0.6853 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006668/0.6874, allocations: 452.5 kB / 0.6858 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.6874, allocations: 8.031 kB / 0.6858 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00625/0.6937, allocations: 2.316 MB / 0.688 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002123/0.6939, allocations: 0.6155 MB / 0.6886 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.6939, allocations: 4 kB / 0.6886 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003578/0.6975, allocations: 0.953 MB / 0.6896 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000858/0.6984, allocations: 159.8 kB / 0.6897 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007484/0.7059, allocations: 4.076 MB / 0.6937 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.7074, allocations: 167.1 kB / 0.6939 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.7076, allocations: 23.98 kB / 0.6939 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.7076, allocations: 4 kB / 0.6939 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006193/0.7138, allocations: 2.16 MB / 0.696 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.7138, allocations: 7.938 kB / 0.696 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003565/0.7174, allocations: 0.9451 MB / 0.6969 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008866/0.7183, allocations: 144.9 kB / 0.6971 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007383/0.7257, allocations: 4.087 MB / 0.7011 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.7272, allocations: 139.3 kB / 0.7012 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.7274, allocations: 27.95 kB / 0.7012 GB, free: 15.31 MB / 0.5105 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * 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.0002692/0.7276, allocations: 122.6 kB / 0.7013 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003302/0.728, allocations: 110.6 kB / 0.7014 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005887/0.7339, allocations: 2.173 MB / 0.7036 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.7339, allocations: 8 kB / 0.7036 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.7339, allocations: 7.953 kB / 0.7036 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.7339, allocations: 3.984 kB / 0.7036 GB, free: 12.86 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.008185/0.7421, allocations: 3.681 MB / 0.7072 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.7422, allocations: 0 / 0.7072 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007517/0.7429, allocations: 114.5 kB / 0.7073 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002861/0.7458, allocations: 0.8394 MB / 0.7081 GB, free: 8.145 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.191e-05/0.7459, allocations: 8 kB / 0.7081 GB, free: 8.137 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00569/0.7516, allocations: 3.285 MB / 0.7113 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.7516, allocations: 0 / 0.7113 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006808/0.7584, allocations: 2.823 MB / 0.7141 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004491/0.7589, allocations: 231.5 kB / 0.7143 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/0.7591, allocations: 0 / 0.7143 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.7605, allocations: 119.9 kB / 0.7144 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000316/0.7608, allocations: 140.5 kB / 0.7146 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.055e-05/0.7609, allocations: 16 kB / 0.7146 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001023/0.7619, allocations: 0.6626 MB / 0.7152 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7619, allocations: 0 / 0.7152 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001629/0.7635, allocations: 0.503 MB / 0.7157 GB, free: 184 kB / 0.5105 GB 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 () * 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.0002938/0.7639, allocations: 146.8 kB / 0.7158 GB, free: 28 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006885/0.7707, allocations: 2.987 MB / 0.7188 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.7708, allocations: 3.938 kB / 0.7188 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002733/0.7735, allocations: 1.196 MB / 0.7199 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008646/0.7744, allocations: 83.05 kB / 0.72 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/0.7785, allocations: 1.884 MB / 0.7219 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007835/0.7793, allocations: 1.107 MB / 0.7229 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001011/0.7803, allocations: 207.1 kB / 0.7231 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.7805, allocations: 51.42 kB / 0.7232 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of SimCode: time 6.51e-07/0.7805, allocations: 0 / 0.7232 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of Templates: time 0.03156/0.8121, allocations: 19.71 MB / 0.7424 GB, free: 4.805 MB / 0.5417 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.sim & ./OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)