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") [: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.0009028/0.0009028, allocations: 185.4 kB / 7.462 MB, free: 1.547 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.059/1.059, allocations: 221.4 MB / 229.3 MB, free: 8.426 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009173/0.0009173, allocations: 105.5 kB / 280.1 MB, free: 7.867 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3462/0.3462, allocations: 78.1 MB / 409 MB, free: 5.461 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 4.679e-06/4.699e-06, allocations: 0 / 484.4 MB, free: 10.4 MB / 370.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2042, allocations: 69.34 MB / 0.5407 GB, free: 15.82 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.102/0.3062, allocations: 100.2 MB / 0.6386 GB, free: 11.52 MB / 466.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.3064, allocations: 75.95 kB / 0.6387 GB, free: 11.45 MB / 466.8 MB Notification: Performance of FrontEnd: time 0.2283/0.5348, allocations: 29.18 MB / 0.6672 GB, free: 102.8 MB / 482.8 MB Notification: Performance of Transformations before backend: time 5.937e-05/0.5349, allocations: 21.78 kB / 0.6672 GB, free: 102.8 MB / 482.8 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.002907/0.5378, allocations: 1.507 MB / 0.6687 GB, free: 102.2 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.5378, allocations: 7.688 kB / 0.6687 GB, free: 102.2 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/0.5399, allocations: 435.2 kB / 0.6691 GB, free: 102.1 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.541, allocations: 0.875 MB / 0.6699 GB, free: 101.8 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.5412, allocations: 220.8 kB / 0.6701 GB, free: 101.6 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.5414, allocations: 46.59 kB / 0.6702 GB, free: 101.6 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001084/0.5424, allocations: 0.7518 MB / 0.6709 GB, free: 101.6 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.5435, allocations: 0.7672 MB / 0.6717 GB, free: 101.5 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.5435, allocations: 0 / 0.6717 GB, free: 101.5 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.135e-05/0.5436, allocations: 0 / 0.6717 GB, free: 101.5 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.5436, allocations: 14.91 kB / 0.6717 GB, free: 101.5 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004985/0.5486, allocations: 3.693 MB / 0.6753 GB, free: 100.6 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.5501, allocations: 0.9363 MB / 0.6762 GB, free: 100.6 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005474/0.5506, allocations: 461.5 kB / 0.6766 GB, free: 100.6 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-05/0.5507, allocations: 9.875 kB / 0.6767 GB, free: 100.6 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.5507, allocations: 48.77 kB / 0.6767 GB, free: 100.5 MB / 482.8 MB Notification: Performance of pre-optimization done (n=76): time 1.824e-06/0.5507, allocations: 3.828 kB / 0.6767 GB, free: 100.5 MB / 482.8 MB Notification: Performance of matching and sorting (n=76): time 0.005288/0.556, allocations: 2.179 MB / 0.6788 GB, free: 100.3 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.5561, allocations: 121.2 kB / 0.679 GB, free: 100.2 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009462/0.557, allocations: 0.8616 MB / 0.6798 GB, free: 99.91 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 6.065e-05/0.5571, allocations: 31.73 kB / 0.6798 GB, free: 99.88 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.5572, allocations: 307.6 kB / 0.6801 GB, free: 99.66 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.5574, allocations: 260.8 kB / 0.6804 GB, free: 99.46 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.512e-05/0.5575, allocations: 0 / 0.6804 GB, free: 99.46 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 4.895e-05/0.5575, allocations: 338.4 kB / 0.6807 GB, free: 99.14 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005623/0.5581, allocations: 423.3 kB / 0.6811 GB, free: 98.93 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/0.5587, allocations: 0.5141 MB / 0.6816 GB, free: 98.63 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005863/0.5593, allocations: 465.5 kB / 0.682 GB, free: 98.41 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5593, allocations: 4.031 kB / 0.682 GB, free: 98.41 MB / 482.8 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005848/0.5651, allocations: 2.409 MB / 0.6844 GB, free: 97.68 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.471e-05/0.5652, allocations: 0.62 MB / 0.685 GB, free: 97.03 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5653, allocations: 6.891 kB / 0.685 GB, free: 97.03 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003397/0.5687, allocations: 0.9662 MB / 0.6859 GB, free: 96.81 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008074/0.5695, allocations: 169.6 kB / 0.6861 GB, free: 96.8 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006987/0.5765, allocations: 3.932 MB / 0.6899 GB, free: 94.44 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.5778, allocations: 164.4 kB / 0.6901 GB, free: 94.39 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.362e-05/0.5779, allocations: 31.16 kB / 0.6901 GB, free: 94.38 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.241e-06/0.5779, allocations: 4.375 kB / 0.6901 GB, free: 94.38 MB / 482.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006234/0.5841, allocations: 2.254 MB / 0.6923 GB, free: 93.75 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5841, allocations: 4.938 kB / 0.6923 GB, free: 93.75 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003556/0.5877, allocations: 0.9853 MB / 0.6933 GB, free: 93.52 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008142/0.5885, allocations: 153 kB / 0.6935 GB, free: 93.52 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006837/0.5954, allocations: 3.929 MB / 0.6973 GB, free: 91.04 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.5966, allocations: 144.8 kB / 0.6974 GB, free: 90.92 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.435e-05/0.5967, allocations: 27.61 kB / 0.6975 GB, free: 90.89 MB / 482.8 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.0001895/0.5969, allocations: 118.6 kB / 0.6976 GB, free: 90.78 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.597, allocations: 110.6 kB / 0.6977 GB, free: 90.67 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005186/0.6022, allocations: 2.267 MB / 0.6999 GB, free: 88.8 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.6023, allocations: 8 kB / 0.6999 GB, free: 88.8 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6023, allocations: 6.625 kB / 0.6999 GB, free: 88.79 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.6023, allocations: 6.844 kB / 0.6999 GB, free: 88.79 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006549/0.6088, allocations: 3.715 MB / 0.7035 GB, free: 85.81 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.6088, allocations: 0 / 0.7035 GB, free: 85.81 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000722/0.6096, allocations: 126.5 kB / 0.7037 GB, free: 85.71 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002523/0.6121, allocations: 0.8611 MB / 0.7045 GB, free: 85.03 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.516e-05/0.6122, allocations: 16 kB / 0.7045 GB, free: 85.01 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004739/0.6169, allocations: 3.119 MB / 0.7076 GB, free: 82.06 MB / 482.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.617, allocations: 0 / 0.7076 GB, free: 82.06 MB / 482.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005729/0.6227, allocations: 2.932 MB / 0.7104 GB, free: 79.46 MB / 482.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.6229, allocations: 220.7 kB / 0.7106 GB, free: 79.24 MB / 482.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.6231, allocations: 11.7 kB / 0.7106 GB, free: 79.23 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.6242, allocations: 117.3 kB / 0.7108 GB, free: 79.14 MB / 482.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.6244, allocations: 73.67 kB / 0.7108 GB, free: 79.1 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-05/0.6245, allocations: 23.56 kB / 0.7108 GB, free: 79.08 MB / 482.8 MB Notification: Performance of sort global known variables: time 0.00066/0.6251, allocations: 0.6619 MB / 0.7115 GB, free: 78.46 MB / 482.8 MB Notification: Performance of remove unused functions: time 0.001086/0.6262, allocations: 498.3 kB / 0.712 GB, free: 77.97 MB / 482.8 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.0002123/0.6265, allocations: 141.4 kB / 0.7121 GB, free: 77.84 MB / 482.8 MB Notification: Performance of simCode: created initialization part: time 0.005822/0.6323, allocations: 2.989 MB / 0.715 GB, free: 75 MB / 482.8 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.6323, allocations: 384 / 0.715 GB, free: 75 MB / 482.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002339/0.6346, allocations: 1.197 MB / 0.7162 GB, free: 73.86 MB / 482.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005371/0.6352, allocations: 86.66 kB / 0.7163 GB, free: 73.79 MB / 482.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/0.6392, allocations: 1.969 MB / 0.7182 GB, free: 72.07 MB / 482.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007678/0.64, allocations: 1.169 MB / 0.7193 GB, free: 71.04 MB / 482.8 MB Notification: Performance of SimCode: time 2.5e-07/0.64, allocations: 0 / 0.7193 GB, free: 71.04 MB / 482.8 MB Notification: Performance of Templates: time 0.02776/0.6678, allocations: 24.51 MB / 0.7433 GB, free: 47.33 MB / 482.8 MB 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)