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: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01116/0.01116, allocations: 170.1 kB / 15.11 MB, free: 5.973 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.663/1.663, allocations: 223.2 MB / 239 MB, free: 1.789 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.0009424/0.0009425, allocations: 100.5 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5131/0.5131, allocations: 79.45 MB / 420.8 MB, free: 43.68 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003968, allocations: 8 kB / 0.4891 GB, free: 1.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4193, allocations: 69.5 MB / 0.557 GB, free: 38.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.5623, allocations: 101.7 MB / 0.6563 GB, free: 3.867 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.5626, allocations: 79.95 kB / 0.6564 GB, free: 3.789 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08408/0.6467, allocations: 30.1 MB / 0.6858 GB, free: 5.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6467, allocations: 0 / 0.6858 GB, free: 5.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001533/0.6469, allocations: 24 kB / 0.6858 GB, free: 5.547 MB / 490.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.005925/0.6528, allocations: 1.815 MB / 0.6876 GB, free: 3.676 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.6529, allocations: 12.03 kB / 0.6876 GB, free: 3.664 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003732/0.6533, allocations: 110.5 kB / 0.6877 GB, free: 3.547 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002562/0.6558, allocations: 430 kB / 0.6881 GB, free: 3.125 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/0.6586, allocations: 0.9349 MB / 0.689 GB, free: 2.137 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000443/0.6591, allocations: 251.4 kB / 0.6892 GB, free: 1.855 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004251/0.6596, allocations: 68 kB / 0.6893 GB, free: 1.789 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/0.6622, allocations: 0.9993 MB / 0.6903 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.6622, allocations: 3.938 kB / 0.6903 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.6623, allocations: 32 kB / 0.6903 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.6624, allocations: 16 kB / 0.6903 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002177/0.6645, allocations: 0.9694 MB / 0.6913 GB, free: 15.75 MB / 0.4948 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 preOpt removeSimpleEquations (simulation): time 0.008072/0.6726, allocations: 3.625 MB / 0.6948 GB, free: 12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01487/0.6875, allocations: 4.273 MB / 0.699 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/0.6878, allocations: 8.656 kB / 0.699 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/0.6879, allocations: 55.16 kB / 0.699 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=76): time 4.809e-06/0.6879, allocations: 3.938 kB / 0.699 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.01559/0.7035, allocations: 4.634 MB / 0.7036 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.576e-05/0.7036, allocations: 115.4 kB / 0.7037 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/0.7063, allocations: 1.031 MB / 0.7047 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000224/0.7065, allocations: 37.7 kB / 0.7047 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004452/0.707, allocations: 480.9 kB / 0.7052 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004199/0.7074, allocations: 280 kB / 0.7055 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.886e-05/0.7075, allocations: 16 kB / 0.7055 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.7077, allocations: 334 kB / 0.7058 GB, free: 0.5664 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.709, allocations: 0.5759 MB / 0.7063 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.7103, allocations: 0.6742 MB / 0.707 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.7117, allocations: 0.6121 MB / 0.7076 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.7117, allocations: 0 / 0.7076 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.008107/0.7198, allocations: 2.797 MB / 0.7103 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002526/0.7201, allocations: 0.6245 MB / 0.7109 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.7201, allocations: 4 kB / 0.711 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004349/0.7245, allocations: 1.196 MB / 0.7121 GB, free: 9.988 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.7255, allocations: 155.8 kB / 0.7123 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/0.7363, allocations: 5.284 MB / 0.7174 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.7382, allocations: 191.1 kB / 0.7176 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002133/0.7384, allocations: 24 kB / 0.7176 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.7384, allocations: 4 kB / 0.7176 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007463/0.7459, allocations: 2.614 MB / 0.7202 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.7459, allocations: 0 / 0.7202 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004198/0.7502, allocations: 1.185 MB / 0.7213 GB, free: 384 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000961/0.7511, allocations: 151.8 kB / 0.7215 GB, free: 232 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/0.7622, allocations: 5.276 MB / 0.7266 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.7641, allocations: 159.2 kB / 0.7268 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/0.7643, allocations: 28 kB / 0.7268 GB, free: 10.63 MB / 0.5261 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.001003/0.7653, allocations: 346.2 kB / 0.7272 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005419/0.7659, allocations: 114.6 kB / 0.7273 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0077/0.7736, allocations: 2.642 MB / 0.7298 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.7736, allocations: 12 kB / 0.7299 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.998e-05/0.7737, allocations: 11.94 kB / 0.7299 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.7737, allocations: 7.938 kB / 0.7299 GB, free: 7.477 MB / 0.5261 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.01003/0.7837, allocations: 4.236 MB / 0.734 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.7838, allocations: 0 / 0.734 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008372/0.7846, allocations: 107.9 kB / 0.7341 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003462/0.7881, allocations: 1.09 MB / 0.7352 GB, free: 1.941 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001618/0.7883, allocations: 16 kB / 0.7352 GB, free: 1.926 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008567/0.7969, allocations: 4.292 MB / 0.7394 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7969, allocations: 4 kB / 0.7394 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009004/0.8059, allocations: 3.448 MB / 0.7428 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008549/0.8068, allocations: 223.5 kB / 0.743 GB, free: 9.777 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000466/0.8073, allocations: 23.98 kB / 0.743 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/0.8089, allocations: 123.9 kB / 0.7431 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004696/0.8094, allocations: 144.3 kB / 0.7432 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.813e-05/0.8095, allocations: 16 kB / 0.7433 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002098/0.8116, allocations: 0.8153 MB / 0.7441 GB, free: 8.652 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.6e-07/0.8116, allocations: 4 kB / 0.7441 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002536/0.8142, allocations: 0.5461 MB / 0.7446 GB, free: 8.102 MB / 0.5417 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.009323/0.8235, allocations: 4.105 MB / 0.7486 GB, free: 3.949 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009232/0.8328, allocations: 3.478 MB / 0.752 GB, free: 372 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.8329, allocations: 112 / 0.752 GB, free: 372 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00371/0.8366, allocations: 1.377 MB / 0.7533 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.8381, allocations: 107 kB / 0.7534 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008229/0.8463, allocations: 4.312 MB / 0.7577 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008828/0.8473, allocations: 1.105 MB / 0.7587 GB, free: 9.301 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008103/0.8481, allocations: 125.9 kB / 0.7589 GB, free: 9.176 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006878/0.8488, allocations: 419.2 kB / 0.7593 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of SimCode: time 3.327e-06/0.8488, allocations: 0 / 0.7593 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3287/1.178, allocations: 29.45 MB / 0.788 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/1.178, allocations: 190.4 kB / 0.7882 GB, free: 145.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.065/4.243, allocations: 0 / 0.7882 GB, free: 145.4 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS.fmu > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)