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") [: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.001963/0.001963, allocations: 186.1 kB / 7.46 MB, free: 2.516 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.157/1.157, allocations: 221.4 MB / 229.3 MB, free: 3 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.0009194/0.0009193, allocations: 96.75 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3915/0.3915, allocations: 78.92 MB / 409.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.701e-06/5.791e-06, allocations: 0 / 485.3 MB, free: 3.652 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2546, allocations: 69.51 MB / 0.5419 GB, free: 20.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1066/0.3612, allocations: 100.9 MB / 0.6404 GB, free: 3.039 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001621/0.3614, allocations: 75.95 kB / 0.6404 GB, free: 2.965 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.0807/0.4421, allocations: 29.38 MB / 0.6691 GB, free: 5.402 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.463e-05/0.4422, allocations: 20 kB / 0.6692 GB, free: 5.383 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.003395/0.4456, allocations: 1.504 MB / 0.6706 GB, free: 3.832 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.4457, allocations: 8.031 kB / 0.6706 GB, free: 3.824 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/0.448, allocations: 434 kB / 0.671 GB, free: 3.398 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.4494, allocations: 0.8761 MB / 0.6719 GB, free: 2.465 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002664/0.4496, allocations: 227.4 kB / 0.6721 GB, free: 2.207 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.4498, allocations: 47.91 kB / 0.6722 GB, free: 2.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001337/0.4511, allocations: 0.7485 MB / 0.6729 GB, free: 1.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.4525, allocations: 0.7625 MB / 0.6736 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.4525, allocations: 0 / 0.6736 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.751e-05/0.4526, allocations: 4 kB / 0.6736 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.4526, allocations: 16 kB / 0.6737 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1367/0.5893, allocations: 3.684 MB / 0.6773 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.5909, allocations: 0.9295 MB / 0.6782 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005823/0.5915, allocations: 460.4 kB / 0.6786 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.683e-05/0.5916, allocations: 15.25 kB / 0.6786 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.5916, allocations: 44.78 kB / 0.6787 GB, free: 141.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.876e-06/0.5917, allocations: 0 / 0.6787 GB, free: 141.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.00578/0.5974, allocations: 2.191 MB / 0.6808 GB, free: 141.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.5975, allocations: 111.1 kB / 0.6809 GB, free: 141.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.5985, allocations: 0.8658 MB / 0.6817 GB, free: 141.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.804e-05/0.5986, allocations: 25.7 kB / 0.6818 GB, free: 141.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.5987, allocations: 300.1 kB / 0.6821 GB, free: 141 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/0.5989, allocations: 268 kB / 0.6823 GB, free: 140.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.984e-05/0.599, allocations: 2.906 kB / 0.6823 GB, free: 140.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.356e-05/0.5991, allocations: 341.8 kB / 0.6826 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006085/0.5997, allocations: 420.2 kB / 0.683 GB, free: 140.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006524/0.6003, allocations: 0.5167 MB / 0.6835 GB, free: 140.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006503/0.601, allocations: 464.4 kB / 0.684 GB, free: 140.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.601, allocations: 0 / 0.684 GB, free: 140.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006488/0.6075, allocations: 2.409 MB / 0.6863 GB, free: 140.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.6076, allocations: 0.6193 MB / 0.6869 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6076, allocations: 2.5 kB / 0.687 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003712/0.6114, allocations: 0.9789 MB / 0.6879 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000889/0.6123, allocations: 165.2 kB / 0.6881 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007169/0.6195, allocations: 3.945 MB / 0.6919 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.6209, allocations: 164 kB / 0.6921 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.447e-05/0.621, allocations: 27.31 kB / 0.6921 GB, free: 138.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.441e-06/0.621, allocations: 3.406 kB / 0.6921 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006216/0.6272, allocations: 2.266 MB / 0.6943 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.6272, allocations: 3.969 kB / 0.6943 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003582/0.6308, allocations: 0.9753 MB / 0.6953 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008106/0.6316, allocations: 148.3 kB / 0.6954 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007021/0.6387, allocations: 3.938 MB / 0.6993 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.6401, allocations: 143.8 kB / 0.6994 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.563e-05/0.6402, allocations: 30.27 kB / 0.6994 GB, free: 136.7 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.0002039/0.6404, allocations: 121 kB / 0.6995 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.6406, allocations: 110.3 kB / 0.6996 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006099/0.6467, allocations: 2.263 MB / 0.7019 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.6468, allocations: 8.469 kB / 0.7019 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.6468, allocations: 7.188 kB / 0.7019 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.6468, allocations: 4.703 kB / 0.7019 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008503/0.6553, allocations: 3.715 MB / 0.7055 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.6553, allocations: 1.219 kB / 0.7055 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008369/0.6562, allocations: 107 kB / 0.7056 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00291/0.6591, allocations: 0.8798 MB / 0.7065 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.043e-05/0.6592, allocations: 8.531 kB / 0.7065 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005474/0.6647, allocations: 3.117 MB / 0.7095 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6647, allocations: 1.25 kB / 0.7095 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006761/0.6715, allocations: 2.933 MB / 0.7124 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/0.6719, allocations: 225.9 kB / 0.7126 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/0.6721, allocations: 6.594 kB / 0.7126 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.6734, allocations: 124.5 kB / 0.7127 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/0.6736, allocations: 66.69 kB / 0.7128 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.553e-05/0.6737, allocations: 32.92 kB / 0.7128 GB, free: 132.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008196/0.6745, allocations: 0.661 MB / 0.7135 GB, free: 132 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001343/0.6759, allocations: 500 kB / 0.7139 GB, free: 131.9 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.0002522/0.6761, allocations: 148.5 kB / 0.7141 GB, free: 131.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006509/0.6826, allocations: 2.991 MB / 0.717 GB, free: 130.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.6827, allocations: 0 / 0.717 GB, free: 130.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002653/0.6853, allocations: 1.192 MB / 0.7182 GB, free: 129.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006737/0.686, allocations: 83.55 kB / 0.7182 GB, free: 129.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004369/0.6904, allocations: 1.97 MB / 0.7202 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007618/0.6912, allocations: 1.174 MB / 0.7213 GB, free: 128.2 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6912, allocations: 0 / 0.7213 GB, free: 128.2 MB / 490.7 MB Notification: Performance of Templates: time 0.03428/0.7255, allocations: 24.52 MB / 0.7453 GB, free: 121.9 MB / 490.7 MB 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)