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: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_dev_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.002119/0.002119, allocations: 183.6 kB / 7.457 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.144/1.144, allocations: 221.4 MB / 229.3 MB, free: 2.992 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.0009528/0.0009528, allocations: 95.64 kB / 280.1 MB, free: 1.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4253/0.4253, allocations: 78.91 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1385/0.5639, allocations: 75.65 MB / 485.5 MB, free: 3.555 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.8489, allocations: 69.49 MB / 0.5419 GB, free: 20.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.9633, allocations: 100.9 MB / 0.6405 GB, free: 2.934 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001678/0.9635, allocations: 71.97 kB / 0.6405 GB, free: 2.863 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.0872/1.051, allocations: 30.91 MB / 0.6707 GB, free: 3.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/1.051, allocations: 12 kB / 0.6707 GB, free: 3.719 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002571/1.053, allocations: 433.9 kB / 0.6711 GB, free: 3.293 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/1.055, allocations: 0.8722 MB / 0.672 GB, free: 2.363 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/1.055, allocations: 223.5 kB / 0.6722 GB, free: 2.109 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/1.056, allocations: 43.91 kB / 0.6723 GB, free: 2.066 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00141/1.057, allocations: 0.7563 MB / 0.673 GB, free: 1.309 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/1.058, allocations: 0.7625 MB / 0.6737 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/1.058, allocations: 4 kB / 0.6737 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.217e-05/1.058, allocations: 3.938 kB / 0.6737 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/1.058, allocations: 15.94 kB / 0.6738 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1551/1.214, allocations: 3.676 MB / 0.6773 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/1.215, allocations: 0.9364 MB / 0.6783 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005737/1.216, allocations: 462.4 kB / 0.6787 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.915e-05/1.216, allocations: 22.72 kB / 0.6787 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/1.216, allocations: 38.75 kB / 0.6788 GB, free: 140.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.635e-06/1.216, allocations: 0 / 0.6788 GB, free: 140.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.00568/1.222, allocations: 2.188 MB / 0.6809 GB, free: 140.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/1.222, allocations: 116.7 kB / 0.681 GB, free: 140.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/1.223, allocations: 0.863 MB / 0.6819 GB, free: 140.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.63e-05/1.223, allocations: 29.2 kB / 0.6819 GB, free: 140.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/1.223, allocations: 305.7 kB / 0.6822 GB, free: 140.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000235/1.223, allocations: 261.5 kB / 0.6824 GB, free: 140.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.87e-05/1.223, allocations: 0 / 0.6824 GB, free: 140.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.954e-05/1.223, allocations: 340.6 kB / 0.6827 GB, free: 139.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006292/1.224, allocations: 420.6 kB / 0.6831 GB, free: 139.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006558/1.225, allocations: 0.5132 MB / 0.6836 GB, free: 139.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000658/1.225, allocations: 468.7 kB / 0.6841 GB, free: 139.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.225, allocations: 2.312 kB / 0.6841 GB, free: 139.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006154/1.231, allocations: 2.409 MB / 0.6864 GB, free: 139.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/1.232, allocations: 0.612 MB / 0.687 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.232, allocations: 7.625 kB / 0.6871 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003558/1.235, allocations: 0.9795 MB / 0.688 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009068/1.236, allocations: 164.9 kB / 0.6882 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006993/1.243, allocations: 3.939 MB / 0.692 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/1.245, allocations: 163.8 kB / 0.6922 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.543e-05/1.245, allocations: 29.22 kB / 0.6922 GB, free: 137.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.191e-06/1.245, allocations: 3.688 kB / 0.6922 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006102/1.251, allocations: 2.265 MB / 0.6944 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/1.251, allocations: 0 / 0.6944 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003577/1.254, allocations: 0.9757 MB / 0.6954 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008708/1.255, allocations: 152.9 kB / 0.6955 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007148/1.262, allocations: 3.944 MB / 0.6994 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/1.264, allocations: 146 kB / 0.6995 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/1.264, allocations: 31.61 kB / 0.6995 GB, free: 136 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.0002444/1.264, allocations: 116.1 kB / 0.6996 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/1.265, allocations: 110.4 kB / 0.6998 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006095/1.271, allocations: 2.26 MB / 0.702 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/1.271, allocations: 7.5 kB / 0.702 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/1.271, allocations: 7.594 kB / 0.702 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/1.271, allocations: 7.688 kB / 0.702 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008293/1.279, allocations: 3.709 MB / 0.7056 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.279, allocations: 0 / 0.7056 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008332/1.28, allocations: 121.1 kB / 0.7057 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002871/1.283, allocations: 0.8668 MB / 0.7066 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.866e-05/1.283, allocations: 11.81 kB / 0.7066 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005549/1.289, allocations: 3.118 MB / 0.7096 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.289, allocations: 0 / 0.7096 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006821/1.295, allocations: 2.936 MB / 0.7125 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007783/1.303, allocations: 3.958 MB / 0.7164 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004321/1.304, allocations: 229.7 kB / 0.7166 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002996/1.304, allocations: 10.81 kB / 0.7166 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.305, allocations: 124.9 kB / 0.7167 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/1.306, allocations: 66.8 kB / 0.7168 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/1.306, allocations: 18.5 kB / 0.7168 GB, free: 129.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000897/1.307, allocations: 0.6642 MB / 0.7174 GB, free: 129.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002571/1.309, allocations: 0.4975 MB / 0.7179 GB, free: 129.5 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.0002491/1.309, allocations: 144.9 kB / 0.7181 GB, free: 129.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006205/1.316, allocations: 2.992 MB / 0.721 GB, free: 128 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/1.316, allocations: 3.062 kB / 0.721 GB, free: 128 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002503/1.318, allocations: 1.191 MB / 0.7221 GB, free: 127.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005691/1.319, allocations: 95.91 kB / 0.7222 GB, free: 127.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004129/1.323, allocations: 1.985 MB / 0.7242 GB, free: 126.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007788/1.324, allocations: 1.195 MB / 0.7253 GB, free: 125.8 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/1.324, allocations: 0 / 0.7253 GB, free: 125.8 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS.fmu > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)