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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.004735/0.004735, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.166/1.166, allocations: 223.2 MB / 239 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008021/0.0008022, allocations: 98.84 kB / 290.2 MB, free: 4.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4012/0.4012, allocations: 79.43 MB / 420.8 MB, free: 36.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003205, allocations: 8 kB / 0.489 GB, free: 6.395 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1106, allocations: 69.52 MB / 0.5569 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3074/0.418, allocations: 101.7 MB / 0.6562 GB, free: 15.58 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.4182, allocations: 81.59 kB / 0.6563 GB, free: 15.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07449/0.4927, allocations: 30.06 MB / 0.6857 GB, free: 1.504 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4928, allocations: 0 / 0.6857 GB, free: 1.504 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.771e-05/0.4928, allocations: 20 kB / 0.6857 GB, free: 1.484 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.004435/0.4973, allocations: 1.829 MB / 0.6875 GB, free: 15.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.4973, allocations: 9.531 kB / 0.6875 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/0.4995, allocations: 422 kB / 0.6879 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.5013, allocations: 0.9424 MB / 0.6888 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002563/0.5016, allocations: 253.6 kB / 0.689 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.5017, allocations: 68 kB / 0.6891 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.5035, allocations: 1.003 MB / 0.6901 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.5035, allocations: 0 / 0.6901 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.084e-05/0.5036, allocations: 28 kB / 0.6901 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.5036, allocations: 16 kB / 0.6901 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.5055, allocations: 0.9695 MB / 0.6911 GB, free: 11.8 MB / 490.7 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.005712/0.5112, allocations: 3.622 MB / 0.6946 GB, free: 8.051 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01378/0.525, allocations: 4.271 MB / 0.6988 GB, free: 3.734 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.5251, allocations: 20.62 kB / 0.6988 GB, free: 3.715 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.5252, allocations: 39.97 kB / 0.6988 GB, free: 3.668 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 4.038e-06/0.5252, allocations: 3.984 kB / 0.6988 GB, free: 3.664 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.0139/0.5391, allocations: 4.645 MB / 0.7034 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.5392, allocations: 113.3 kB / 0.7035 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.5411, allocations: 1.031 MB / 0.7045 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.5412, allocations: 37.7 kB / 0.7045 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/0.5415, allocations: 476.9 kB / 0.705 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/0.5418, allocations: 280 kB / 0.7053 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.5418, allocations: 16 kB / 0.7053 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.584e-05/0.5419, allocations: 334 kB / 0.7056 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.5431, allocations: 0.5836 MB / 0.7062 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.5442, allocations: 0.6703 MB / 0.7068 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.5454, allocations: 0.6122 MB / 0.7074 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5454, allocations: 0 / 0.7074 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.007457/0.5529, allocations: 2.801 MB / 0.7101 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002008/0.5531, allocations: 0.6198 MB / 0.7108 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.5531, allocations: 4 kB / 0.7108 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00419/0.5573, allocations: 1.19 MB / 0.7119 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008708/0.5582, allocations: 163.8 kB / 0.7121 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009986/0.5682, allocations: 5.28 MB / 0.7172 GB, free: 484 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.5696, allocations: 179.1 kB / 0.7174 GB, free: 304 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.388e-05/0.5697, allocations: 31.94 kB / 0.7174 GB, free: 272 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.5697, allocations: 5.5 kB / 0.7174 GB, free: 268 kB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007036/0.5767, allocations: 2.614 MB / 0.72 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.5768, allocations: 2.188 kB / 0.72 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003942/0.5807, allocations: 1.185 MB / 0.7211 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007428/0.5815, allocations: 151.8 kB / 0.7213 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00975/0.5912, allocations: 5.276 MB / 0.7264 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.5926, allocations: 165.2 kB / 0.7266 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-05/0.5927, allocations: 28 kB / 0.7266 GB, free: 6.695 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 () * Number of clocked 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.0005043/0.5932, allocations: 344.9 kB / 0.727 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.5934, allocations: 114.6 kB / 0.7271 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006613/0.6, allocations: 2.638 MB / 0.7296 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.6, allocations: 8 kB / 0.7297 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6, allocations: 4 kB / 0.7297 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.6, allocations: 3.984 kB / 0.7297 GB, free: 3.559 MB / 0.5105 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.008356/0.6084, allocations: 4.244 MB / 0.7338 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.6084, allocations: 0 / 0.7338 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007118/0.6091, allocations: 118.4 kB / 0.7339 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003162/0.6123, allocations: 1.087 MB / 0.735 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.252e-05/0.6124, allocations: 16 kB / 0.735 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007547/0.6199, allocations: 4.29 MB / 0.7392 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6199, allocations: 4 kB / 0.7392 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007785/0.6277, allocations: 3.441 MB / 0.7425 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.628, allocations: 231.4 kB / 0.7428 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.6282, allocations: 20 kB / 0.7428 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.6293, allocations: 131.9 kB / 0.7429 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002946/0.6296, allocations: 130.4 kB / 0.743 GB, free: 5.574 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/0.6297, allocations: 20 kB / 0.7431 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00136/0.6311, allocations: 0.8153 MB / 0.7439 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6311, allocations: 0 / 0.7439 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001284/0.6324, allocations: 0.5538 MB / 0.7444 GB, free: 4.176 MB / 0.5261 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 () * 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.0002594/0.6326, allocations: 161 kB / 0.7445 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008016/0.6407, allocations: 3.48 MB / 0.7479 GB, free: 436 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6407, allocations: 0 / 0.7479 GB, free: 436 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003199/0.6439, allocations: 1.377 MB / 0.7493 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006369/0.6445, allocations: 99.36 kB / 0.7494 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.6486, allocations: 2.709 MB / 0.752 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005644/0.6492, allocations: 1.112 MB / 0.7531 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005181/0.6497, allocations: 121.9 kB / 0.7532 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.65, allocations: 63.42 kB / 0.7533 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of SimCode: time 4.2e-07/0.65, allocations: 0 / 0.7533 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of Templates: time 0.02573/0.6757, allocations: 20.03 MB / 0.7729 GB, free: 6.902 MB / 0.5573 GB 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)