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: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS",fmuType="me",version="2.0",platforms={"static"}) [: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.002186/0.002186, allocations: 179.5 kB / 7.458 MB, free: 2.504 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.171/1.171, allocations: 221.4 MB / 229.3 MB, free: 3.027 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.0008997/0.0008997, allocations: 98.92 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4308/0.4308, allocations: 78.06 MB / 408.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1372/0.5681, allocations: 75.49 MB / 484.4 MB, free: 4.352 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.8439, allocations: 69.34 MB / 0.5408 GB, free: 21.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.115/0.9589, allocations: 100.2 MB / 0.6387 GB, free: 4.688 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.9592, allocations: 71.97 kB / 0.6387 GB, free: 4.617 MB / 458.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.08611/1.045, allocations: 30.72 MB / 0.6687 GB, free: 5.664 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/1.045, allocations: 8 kB / 0.6687 GB, free: 5.656 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002501/1.048, allocations: 434 kB / 0.6692 GB, free: 5.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/1.049, allocations: 0.8722 MB / 0.67 GB, free: 4.301 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/1.05, allocations: 223.5 kB / 0.6702 GB, free: 4.047 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/1.05, allocations: 43.91 kB / 0.6703 GB, free: 4.004 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001467/1.051, allocations: 0.7563 MB / 0.671 GB, free: 3.246 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/1.053, allocations: 0.7664 MB / 0.6718 GB, free: 2.469 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/1.053, allocations: 0 / 0.6718 GB, free: 2.469 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.019e-05/1.053, allocations: 0 / 0.6718 GB, free: 2.469 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/1.053, allocations: 16 kB / 0.6718 GB, free: 2.453 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1547/1.208, allocations: 3.694 MB / 0.6754 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/1.209, allocations: 0.9298 MB / 0.6763 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005864/1.21, allocations: 467.2 kB / 0.6767 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.054e-05/1.21, allocations: 15.3 kB / 0.6767 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/1.21, allocations: 47.23 kB / 0.6768 GB, free: 141.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.365e-06/1.21, allocations: 0 / 0.6768 GB, free: 141.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005616/1.216, allocations: 2.177 MB / 0.6789 GB, free: 141.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/1.216, allocations: 115.6 kB / 0.679 GB, free: 141.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009322/1.217, allocations: 0.871 MB / 0.6799 GB, free: 141.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.66e-05/1.217, allocations: 25.7 kB / 0.6799 GB, free: 141.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/1.217, allocations: 293.8 kB / 0.6802 GB, free: 141.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/1.217, allocations: 272.6 kB / 0.6804 GB, free: 141.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/1.217, allocations: 0 / 0.6804 GB, free: 141.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.203e-05/1.217, allocations: 342.6 kB / 0.6808 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005755/1.218, allocations: 418.1 kB / 0.6812 GB, free: 140.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/1.218, allocations: 0.5095 MB / 0.6817 GB, free: 140.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006149/1.219, allocations: 467.5 kB / 0.6821 GB, free: 140.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.219, allocations: 3.656 kB / 0.6821 GB, free: 140.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006035/1.225, allocations: 2.417 MB / 0.6845 GB, free: 140.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.44e-05/1.225, allocations: 0.6192 MB / 0.6851 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/1.225, allocations: 0 / 0.6851 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0035/1.229, allocations: 0.9747 MB / 0.686 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008263/1.229, allocations: 165.5 kB / 0.6862 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006869/1.236, allocations: 3.937 MB / 0.69 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/1.238, allocations: 162.4 kB / 0.6902 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.408e-05/1.238, allocations: 32.42 kB / 0.6902 GB, free: 138.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.731e-06/1.238, allocations: 3.031 kB / 0.6902 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005979/1.244, allocations: 2.261 MB / 0.6924 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/1.244, allocations: 3.688 kB / 0.6924 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00343/1.247, allocations: 0.9739 MB / 0.6934 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007841/1.248, allocations: 150.8 kB / 0.6935 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006553/1.255, allocations: 3.94 MB / 0.6974 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/1.256, allocations: 137.5 kB / 0.6975 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.151e-05/1.256, allocations: 27.8 kB / 0.6975 GB, free: 137 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.0001819/1.256, allocations: 124.1 kB / 0.6976 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/1.256, allocations: 104.8 kB / 0.6977 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005801/1.262, allocations: 2.267 MB / 0.7 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/1.262, allocations: 7.562 kB / 0.7 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.262, allocations: 4.125 kB / 0.7 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/1.262, allocations: 3.375 kB / 0.7 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007615/1.27, allocations: 3.714 MB / 0.7036 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.27, allocations: 0 / 0.7036 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000766/1.271, allocations: 114.9 kB / 0.7037 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002802/1.273, allocations: 0.8751 MB / 0.7046 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.971e-05/1.273, allocations: 10.5 kB / 0.7046 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005381/1.279, allocations: 3.119 MB / 0.7076 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.279, allocations: 4.062 kB / 0.7076 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009331/1.288, allocations: 2.933 MB / 0.7105 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01202/1.3, allocations: 3.954 MB / 0.7144 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000462/1.301, allocations: 229.8 kB / 0.7146 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003462/1.301, allocations: 6.844 kB / 0.7146 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/1.303, allocations: 116 kB / 0.7147 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/1.303, allocations: 78.48 kB / 0.7148 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.88e-05/1.303, allocations: 15.66 kB / 0.7148 GB, free: 131.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001217/1.304, allocations: 0.6651 MB / 0.7154 GB, free: 130.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004284/1.308, allocations: 0.5042 MB / 0.7159 GB, free: 130.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.0003752/1.309, allocations: 141 kB / 0.7161 GB, free: 130.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01024/1.319, allocations: 2.989 MB / 0.719 GB, free: 129.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.319, allocations: 0 / 0.719 GB, free: 129.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00391/1.323, allocations: 1.195 MB / 0.7201 GB, free: 128.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009054/1.324, allocations: 91.97 kB / 0.7202 GB, free: 128.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006473/1.33, allocations: 1.983 MB / 0.7222 GB, free: 127.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/1.332, allocations: 1.206 MB / 0.7233 GB, free: 127.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.253e-06/1.332, allocations: 0 / 0.7233 GB, free: 127.1 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS.fmu > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)