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: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_release_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.001881/0.001881, allocations: 184.6 kB / 7.463 MB, free: 2.5 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.057/1.057, allocations: 221.4 MB / 229.3 MB, free: 3.039 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.0008239/0.0008238, allocations: 97.56 kB / 280.1 MB, free: 1.316 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3566/0.3566, allocations: 78.1 MB / 409 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1101/0.4667, allocations: 75.49 MB / 484.5 MB, free: 4.477 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.6851, allocations: 69.33 MB / 0.5408 GB, free: 21.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09747/0.7826, allocations: 100.2 MB / 0.6387 GB, free: 4.711 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001735/0.7828, allocations: 71.95 kB / 0.6388 GB, free: 4.641 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.07844/0.8613, allocations: 30.72 MB / 0.6688 GB, free: 5.691 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.8613, allocations: 8 kB / 0.6688 GB, free: 5.684 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/0.8636, allocations: 437.9 kB / 0.6692 GB, free: 5.254 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.8648, allocations: 0.8684 MB / 0.67 GB, free: 4.328 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002477/0.8651, allocations: 219.5 kB / 0.6702 GB, free: 4.078 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.8652, allocations: 51.89 kB / 0.6703 GB, free: 4.027 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001267/0.8665, allocations: 0.7601 MB / 0.671 GB, free: 3.266 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.8677, allocations: 0.7587 MB / 0.6718 GB, free: 2.496 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.8678, allocations: 3.984 kB / 0.6718 GB, free: 2.492 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.536e-05/0.8678, allocations: 4 kB / 0.6718 GB, free: 2.488 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.8679, allocations: 16 kB / 0.6718 GB, free: 2.473 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1305/0.9984, allocations: 3.683 MB / 0.6754 GB, free: 141.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.9999, allocations: 0.9379 MB / 0.6763 GB, free: 141.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005572/1, allocations: 459.4 kB / 0.6768 GB, free: 141.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.262e-05/1.001, allocations: 14.98 kB / 0.6768 GB, free: 141.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/1.001, allocations: 44.5 kB / 0.6768 GB, free: 141.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.575e-06/1.001, allocations: 0 / 0.6768 GB, free: 141.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005301/1.006, allocations: 2.184 MB / 0.6789 GB, free: 141.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/1.006, allocations: 118.7 kB / 0.6791 GB, free: 141.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009296/1.007, allocations: 0.8699 MB / 0.6799 GB, free: 141.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.411e-05/1.007, allocations: 25.7 kB / 0.6799 GB, free: 141.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/1.007, allocations: 296.2 kB / 0.6802 GB, free: 141.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/1.007, allocations: 266.4 kB / 0.6805 GB, free: 141.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/1.007, allocations: 0 / 0.6805 GB, free: 141.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.88e-05/1.007, allocations: 338 kB / 0.6808 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005698/1.008, allocations: 423.2 kB / 0.6812 GB, free: 140.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006199/1.009, allocations: 0.5145 MB / 0.6817 GB, free: 140.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005979/1.009, allocations: 467.5 kB / 0.6821 GB, free: 140.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/1.009, allocations: 0 / 0.6821 GB, free: 140.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005943/1.015, allocations: 2.415 MB / 0.6845 GB, free: 140.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.77e-05/1.015, allocations: 0.6212 MB / 0.6851 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.015, allocations: 2.656 kB / 0.6851 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003465/1.019, allocations: 0.9711 MB / 0.6861 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000827/1.02, allocations: 165.2 kB / 0.6862 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006584/1.026, allocations: 3.937 MB / 0.6901 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/1.028, allocations: 157.7 kB / 0.6902 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.15e-05/1.028, allocations: 26.03 kB / 0.6902 GB, free: 138.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.473e-06/1.028, allocations: 2.438 kB / 0.6902 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005868/1.033, allocations: 2.272 MB / 0.6925 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/1.034, allocations: 7.469 kB / 0.6925 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003362/1.037, allocations: 0.97 MB / 0.6934 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/1.038, allocations: 152.1 kB / 0.6936 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006292/1.044, allocations: 3.938 MB / 0.6974 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/1.045, allocations: 139.7 kB / 0.6975 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-05/1.045, allocations: 33.78 kB / 0.6976 GB, free: 136.9 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.0001795/1.045, allocations: 117.7 kB / 0.6977 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/1.046, allocations: 108.9 kB / 0.6978 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005527/1.051, allocations: 2.264 MB / 0.7 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/1.051, allocations: 7.031 kB / 0.7 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.051, allocations: 4.531 kB / 0.7 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/1.051, allocations: 7.031 kB / 0.7 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007197/1.058, allocations: 3.707 MB / 0.7036 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.058, allocations: 1.344 kB / 0.7036 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007586/1.059, allocations: 113.9 kB / 0.7037 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002776/1.062, allocations: 0.8806 MB / 0.7046 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-05/1.062, allocations: 10.5 kB / 0.7046 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005165/1.067, allocations: 3.112 MB / 0.7076 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/1.067, allocations: 4.062 kB / 0.7077 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006389/1.074, allocations: 2.936 MB / 0.7105 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006895/1.081, allocations: 3.956 MB / 0.7144 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/1.081, allocations: 224.7 kB / 0.7146 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/1.081, allocations: 6.906 kB / 0.7146 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/1.082, allocations: 123.9 kB / 0.7147 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/1.082, allocations: 70.44 kB / 0.7148 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.059e-05/1.082, allocations: 18.75 kB / 0.7148 GB, free: 131.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007522/1.083, allocations: 0.6621 MB / 0.7155 GB, free: 131 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002357/1.086, allocations: 0.5059 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.0002198/1.086, allocations: 139.2 kB / 0.7161 GB, free: 130.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005936/1.092, allocations: 2.992 MB / 0.719 GB, free: 129.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.092, allocations: 4.125 kB / 0.719 GB, free: 129.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002417/1.094, allocations: 1.191 MB / 0.7202 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.0005245/1.095, allocations: 83.05 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.003904/1.099, allocations: 1.992 MB / 0.7222 GB, free: 127.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007357/1.099, allocations: 1.2 MB / 0.7234 GB, free: 127.2 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/1.099, allocations: 7 kB / 0.7234 GB, free: 127.2 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS.fmu > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)