Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 181 kB / 7.455 MB, free: 2.52 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.186/1.186, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.0009767/0.0009767, allocations: 92.64 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4023/0.4023, allocations: 78.06 MB / 408.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.109e-06/5.139e-06, allocations: 0 / 484.3 MB, free: 4.457 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2409, allocations: 69.35 MB / 0.5407 GB, free: 21.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1113/0.3522, allocations: 100.2 MB / 0.6386 GB, free: 4.641 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.3525, allocations: 67.97 kB / 0.6386 GB, free: 4.574 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.08518/0.4377, allocations: 29.19 MB / 0.6671 GB, free: 7.203 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.607e-05/0.4378, allocations: 24 kB / 0.6672 GB, free: 7.18 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.00374/0.4415, allocations: 1.5 MB / 0.6686 GB, free: 5.633 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.4416, allocations: 8.031 kB / 0.6686 GB, free: 5.625 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002553/0.4441, allocations: 434 kB / 0.669 GB, free: 5.199 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.4455, allocations: 0.8722 MB / 0.6699 GB, free: 4.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003018/0.4459, allocations: 227.4 kB / 0.6701 GB, free: 4.012 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.446, allocations: 47.89 kB / 0.6702 GB, free: 3.965 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001385/0.4474, allocations: 0.7602 MB / 0.6709 GB, free: 3.203 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.4488, allocations: 0.7625 MB / 0.6717 GB, free: 2.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.4488, allocations: 0 / 0.6717 GB, free: 2.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-05/0.4489, allocations: 0 / 0.6717 GB, free: 2.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.4489, allocations: 16 kB / 0.6717 GB, free: 2.414 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2141/0.663, allocations: 3.691 MB / 0.6753 GB, free: 45.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.6647, allocations: 0.9326 MB / 0.6762 GB, free: 45.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006052/0.6653, allocations: 467.8 kB / 0.6766 GB, free: 45.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.477e-05/0.6654, allocations: 14.56 kB / 0.6766 GB, free: 45.51 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.6654, allocations: 44.81 kB / 0.6767 GB, free: 45.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.254e-06/0.6654, allocations: 0 / 0.6767 GB, free: 45.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005934/0.6714, allocations: 2.184 MB / 0.6788 GB, free: 45.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.6714, allocations: 113.7 kB / 0.6789 GB, free: 45.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009685/0.6724, allocations: 0.8703 MB / 0.6798 GB, free: 45.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.885e-05/0.6725, allocations: 25.7 kB / 0.6798 GB, free: 45.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.6726, allocations: 294.1 kB / 0.6801 GB, free: 44.97 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.6728, allocations: 272.1 kB / 0.6803 GB, free: 44.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/0.6729, allocations: 0 / 0.6803 GB, free: 44.83 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.977e-05/0.673, allocations: 339.2 kB / 0.6807 GB, free: 44.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006346/0.6736, allocations: 422.7 kB / 0.6811 GB, free: 44.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006724/0.6743, allocations: 0.5099 MB / 0.6816 GB, free: 44.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006722/0.675, allocations: 462.8 kB / 0.682 GB, free: 44.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.675, allocations: 0 / 0.682 GB, free: 44.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006709/0.6817, allocations: 2.419 MB / 0.6844 GB, free: 44.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.53e-05/0.6818, allocations: 0.6208 MB / 0.685 GB, free: 43.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.6818, allocations: 3.719 kB / 0.685 GB, free: 43.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003814/0.6856, allocations: 0.976 MB / 0.6859 GB, free: 43.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009337/0.6866, allocations: 162 kB / 0.6861 GB, free: 43.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007618/0.6942, allocations: 3.937 MB / 0.6899 GB, free: 42.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.6958, allocations: 162.3 kB / 0.6901 GB, free: 42.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-05/0.6959, allocations: 31.69 kB / 0.6901 GB, free: 42.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.091e-06/0.696, allocations: 3.406 kB / 0.6901 GB, free: 42.18 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006602/0.7026, allocations: 2.255 MB / 0.6923 GB, free: 42.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.7026, allocations: 3.938 kB / 0.6923 GB, free: 42.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003797/0.7064, allocations: 0.9787 MB / 0.6933 GB, free: 41.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/0.7073, allocations: 144.1 kB / 0.6934 GB, free: 41.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007234/0.7145, allocations: 3.942 MB / 0.6973 GB, free: 40.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.7161, allocations: 140.6 kB / 0.6974 GB, free: 40.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.715e-05/0.7162, allocations: 26.59 kB / 0.6974 GB, free: 40.58 MB / 490.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 () * 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.0002327/0.7165, allocations: 123.9 kB / 0.6975 GB, free: 40.47 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.7167, allocations: 112.2 kB / 0.6977 GB, free: 40.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00607/0.7228, allocations: 2.26 MB / 0.6999 GB, free: 40.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.455e-06/0.7228, allocations: 11.53 kB / 0.6999 GB, free: 40.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.7228, allocations: 7.719 kB / 0.6999 GB, free: 40.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.7228, allocations: 7.516 kB / 0.6999 GB, free: 40.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007666/0.7305, allocations: 3.705 MB / 0.7035 GB, free: 39.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.7305, allocations: 0 / 0.7035 GB, free: 39.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008445/0.7314, allocations: 111.5 kB / 0.7036 GB, free: 39.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002907/0.7343, allocations: 0.8704 MB / 0.7045 GB, free: 39.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.686e-05/0.7344, allocations: 11.03 kB / 0.7045 GB, free: 39.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005504/0.7399, allocations: 3.117 MB / 0.7075 GB, free: 38.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.74, allocations: 5.219 kB / 0.7075 GB, free: 38.34 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006686/0.7466, allocations: 2.935 MB / 0.7104 GB, free: 37.97 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003738/0.747, allocations: 229.2 kB / 0.7106 GB, free: 37.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/0.7473, allocations: 7.375 kB / 0.7106 GB, free: 37.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/0.7486, allocations: 119.4 kB / 0.7107 GB, free: 37.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/0.7488, allocations: 75.73 kB / 0.7108 GB, free: 37.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.471e-05/0.7489, allocations: 18.84 kB / 0.7108 GB, free: 37.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008323/0.7498, allocations: 0.6678 MB / 0.7115 GB, free: 37.69 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00134/0.7511, allocations: 499.6 kB / 0.7119 GB, free: 37.66 MB / 490.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 () * 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.0002668/0.7514, allocations: 143.3 kB / 0.7121 GB, free: 37.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006626/0.758, allocations: 2.99 MB / 0.715 GB, free: 36.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.758, allocations: 3 kB / 0.715 GB, free: 36.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002647/0.7607, allocations: 1.191 MB / 0.7162 GB, free: 36.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007131/0.7614, allocations: 86.53 kB / 0.7162 GB, free: 36.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00459/0.766, allocations: 1.971 MB / 0.7182 GB, free: 35.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007886/0.7668, allocations: 1.178 MB / 0.7193 GB, free: 35.11 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.7668, allocations: 0 / 0.7193 GB, free: 35.11 MB / 490.7 MB Notification: Performance of Templates: time 0.03291/0.7997, allocations: 24.49 MB / 0.7432 GB, free: 34 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.makefile (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.sim & ./OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)