Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007045/0.007045, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.4 MB / 221.3 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000869/0.0008693, allocations: 98.84 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06836/0.06836, allocations: 12.6 MB / 330.5 MB, free: 10.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4255/0.4255, allocations: 78.52 MB / 460 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005096/0.0005096, allocations: 23.31 kB / 0.5285 GB, free: 35.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1397, allocations: 69.33 MB / 0.5962 GB, free: 3.832 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4725/0.6122, allocations: 102.6 MB / 0.6964 GB, free: 35.88 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/0.6125, allocations: 82.17 kB / 0.6964 GB, free: 35.88 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07783/0.6903, allocations: 29.2 MB / 0.725 GB, free: 33.47 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6904, allocations: 0 / 0.725 GB, free: 33.47 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.959e-05/0.6904, allocations: 23.62 kB / 0.725 GB, free: 33.46 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.004548/0.695, allocations: 1.814 MB / 0.7268 GB, free: 32.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.695, allocations: 15.58 kB / 0.7268 GB, free: 32.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/0.6974, allocations: 420.5 kB / 0.7272 GB, free: 32.52 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/0.6993, allocations: 0.9627 MB / 0.7281 GB, free: 32.15 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002364/0.6996, allocations: 247 kB / 0.7283 GB, free: 31.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.6997, allocations: 68.28 kB / 0.7284 GB, free: 31.95 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.7015, allocations: 0.9946 MB / 0.7294 GB, free: 31.87 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.7015, allocations: 0 / 0.7294 GB, free: 31.87 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.82e-05/0.7016, allocations: 29.19 kB / 0.7294 GB, free: 31.87 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.7016, allocations: 19.53 kB / 0.7294 GB, free: 31.87 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.7033, allocations: 0.9629 MB / 0.7304 GB, free: 31.85 MB / 474.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.005649/0.7089, allocations: 3.621 MB / 0.7339 GB, free: 31.01 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01339/0.7223, allocations: 4.279 MB / 0.7381 GB, free: 30.59 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.7225, allocations: 24.33 kB / 0.7381 GB, free: 30.58 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.7226, allocations: 42.75 kB / 0.7381 GB, free: 30.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=76): time 3.226e-06/0.7226, allocations: 0 / 0.7381 GB, free: 30.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=76): time 0.01391/0.7365, allocations: 4.636 MB / 0.7427 GB, free: 29.33 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.7366, allocations: 114.9 kB / 0.7428 GB, free: 29.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/0.7387, allocations: 1.034 MB / 0.7438 GB, free: 28.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001899/0.7389, allocations: 40.3 kB / 0.7438 GB, free: 28.87 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.7392, allocations: 479.4 kB / 0.7443 GB, free: 28.67 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000269/0.7394, allocations: 270.9 kB / 0.7445 GB, free: 28.47 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.7395, allocations: 14.84 kB / 0.7446 GB, free: 28.47 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.893e-05/0.7396, allocations: 348.6 kB / 0.7449 GB, free: 28.15 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.7407, allocations: 0.5661 MB / 0.7454 GB, free: 28.07 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.7418, allocations: 0.6719 MB / 0.7461 GB, free: 27.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.7428, allocations: 0.622 MB / 0.7467 GB, free: 27.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.7428, allocations: 3.938 kB / 0.7467 GB, free: 27.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00694/0.7498, allocations: 2.797 MB / 0.7494 GB, free: 27.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.7499, allocations: 0.6229 MB / 0.7501 GB, free: 26.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.7499, allocations: 0 / 0.7501 GB, free: 26.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003965/0.7539, allocations: 1.19 MB / 0.7512 GB, free: 26.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009913/0.7549, allocations: 160.3 kB / 0.7514 GB, free: 26.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009256/0.7642, allocations: 5.295 MB / 0.7565 GB, free: 23.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.766, allocations: 174.4 kB / 0.7567 GB, free: 23.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.001e-05/0.7661, allocations: 30.39 kB / 0.7567 GB, free: 23.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.7662, allocations: 11.75 kB / 0.7567 GB, free: 23.83 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006527/0.7727, allocations: 2.61 MB / 0.7593 GB, free: 23.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.7727, allocations: 160 / 0.7593 GB, free: 23.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003732/0.7765, allocations: 1.185 MB / 0.7604 GB, free: 22.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008852/0.7774, allocations: 147.9 kB / 0.7606 GB, free: 22.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009127/0.7865, allocations: 5.284 MB / 0.7658 GB, free: 20.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.7884, allocations: 163.7 kB / 0.7659 GB, free: 20.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-05/0.7885, allocations: 26.56 kB / 0.7659 GB, free: 20.62 MB / 474.7 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 (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.0007882/0.7893, allocations: 341.8 kB / 0.7663 GB, free: 20.41 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.7895, allocations: 113.2 kB / 0.7664 GB, free: 20.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006334/0.7959, allocations: 2.64 MB / 0.7689 GB, free: 19.65 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.7959, allocations: 11.67 kB / 0.769 GB, free: 19.65 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.7959, allocations: 7.719 kB / 0.769 GB, free: 19.65 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.7959, allocations: 3.984 kB / 0.769 GB, free: 19.64 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.008329/0.8043, allocations: 4.251 MB / 0.7731 GB, free: 18.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.8043, allocations: 0 / 0.7731 GB, free: 18.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007919/0.8051, allocations: 105.4 kB / 0.7732 GB, free: 18.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003067/0.8082, allocations: 1.089 MB / 0.7743 GB, free: 17.76 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.8083, allocations: 17.81 kB / 0.7743 GB, free: 17.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007335/0.8157, allocations: 4.279 MB / 0.7785 GB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.8157, allocations: 0 / 0.7785 GB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007975/0.8237, allocations: 3.448 MB / 0.7818 GB, free: 13.74 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006819/0.8244, allocations: 231.8 kB / 0.7821 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.8246, allocations: 22.8 kB / 0.7821 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.8258, allocations: 130.8 kB / 0.7822 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003623/0.8262, allocations: 141.2 kB / 0.7823 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.006e-05/0.8263, allocations: 15.62 kB / 0.7824 GB, free: 13.27 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001486/0.8278, allocations: 0.8171 MB / 0.7832 GB, free: 12.67 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8278, allocations: 0 / 0.7832 GB, free: 12.67 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001648/0.8294, allocations: 0.5493 MB / 0.7837 GB, free: 12.16 MB / 474.7 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.0003073/0.8298, allocations: 154.1 kB / 0.7838 GB, free: 12.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007552/0.8373, allocations: 3.484 MB / 0.7872 GB, free: 8.453 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.8374, allocations: 0 / 0.7872 GB, free: 8.453 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002893/0.8403, allocations: 1.373 MB / 0.7886 GB, free: 7.027 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.8413, allocations: 98.27 kB / 0.7887 GB, free: 6.93 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/0.8455, allocations: 2.722 MB / 0.7913 GB, free: 4.176 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.846, allocations: 1.112 MB / 0.7924 GB, free: 3.035 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006177/0.8466, allocations: 126 kB / 0.7925 GB, free: 2.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.8469, allocations: 63.42 kB / 0.7926 GB, free: 2.848 MB / 474.7 MB Notification: Performance of SimCode: time 1.222e-06/0.8469, allocations: 0 / 0.7926 GB, free: 2.848 MB / 474.7 MB Notification: Performance of Templates: time 0.0335/0.8804, allocations: 20.04 MB / 0.8122 GB, free: 14.84 MB / 0.4949 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)