Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB",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 3.2.3+maint.om/package.mo): time 0.002623/0.002623, allocations: 184.8 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.089/1.089, allocations: 205.2 MB / 213.1 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008319/0.0008319, allocations: 92.97 kB / 261.1 MB, free: 13.6 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05807/0.05807, allocations: 12.19 MB / 321.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2668/0.2668, allocations: 78.05 MB / 449.9 MB, free: 3.656 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.217/0.4838, allocations: 76.09 MB / 0.5137 GB, free: 30.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.5911, allocations: 69.23 MB / 0.5813 GB, free: 9.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.315/0.9062, allocations: 97.96 MB / 0.6769 GB, free: 9.516 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.9065, allocations: 72.8 kB / 0.677 GB, free: 9.504 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.05373/0.9602, allocations: 20.64 MB / 0.6972 GB, free: 9.781 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.9603, allocations: 11.94 kB / 0.6972 GB, free: 9.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002441/0.9627, allocations: 392.4 kB / 0.6976 GB, free: 9.418 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009756/0.9637, allocations: 0.5648 MB / 0.6981 GB, free: 8.941 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001829/0.9639, allocations: 130.1 kB / 0.6982 GB, free: 8.797 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.964, allocations: 28 kB / 0.6983 GB, free: 8.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009702/0.965, allocations: 0.5135 MB / 0.6988 GB, free: 8.465 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009234/0.9659, allocations: 0.5091 MB / 0.6993 GB, free: 8.117 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.966, allocations: 0 / 0.6993 GB, free: 8.117 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/0.966, allocations: 4 kB / 0.6993 GB, free: 8.113 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.9661, allocations: 13.03 kB / 0.6993 GB, free: 8.102 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004802/0.9709, allocations: 2.725 MB / 0.7019 GB, free: 5.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006715/0.9715, allocations: 354.8 kB / 0.7023 GB, free: 5.781 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004901/0.972, allocations: 345 kB / 0.7026 GB, free: 5.605 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.788e-05/0.9721, allocations: 12.48 kB / 0.7026 GB, free: 5.594 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.9722, allocations: 46.28 kB / 0.7027 GB, free: 5.543 MB / 442.7 MB Notification: Performance of pre-optimization done (n=57): time 1.943e-06/0.9722, allocations: 0 / 0.7027 GB, free: 5.543 MB / 442.7 MB Notification: Performance of matching and sorting (n=57): time 0.005713/0.9779, allocations: 1.922 MB / 0.7045 GB, free: 3.934 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.9779, allocations: 59.91 kB / 0.7046 GB, free: 3.863 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007551/0.9787, allocations: 0.6003 MB / 0.7052 GB, free: 3.426 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/0.9788, allocations: 25.7 kB / 0.7052 GB, free: 3.395 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.9789, allocations: 248 kB / 0.7054 GB, free: 3.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.9791, allocations: 199.4 kB / 0.7056 GB, free: 3.008 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.9792, allocations: 0 / 0.7056 GB, free: 3.008 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.9793, allocations: 336.5 kB / 0.7059 GB, free: 2.684 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004503/0.9797, allocations: 286.2 kB / 0.7062 GB, free: 2.539 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/0.9802, allocations: 371.5 kB / 0.7066 GB, free: 2.297 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005037/0.9808, allocations: 319.8 kB / 0.7069 GB, free: 2.125 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.9808, allocations: 3.938 kB / 0.7069 GB, free: 2.121 MB / 442.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.006487/0.9873, allocations: 2.095 MB / 0.7089 GB, free: 376 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.9873, allocations: 7.938 kB / 0.7089 GB, free: 368 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.9873, allocations: 7.984 kB / 0.7089 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004035/0.9913, allocations: 0.9918 MB / 0.7099 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.9918, allocations: 91.7 kB / 0.71 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008271/1, allocations: 5.088 MB / 0.715 GB, free: 11.08 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000888/1.001, allocations: 107.5 kB / 0.7151 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.008e-05/1.001, allocations: 22 kB / 0.7151 GB, free: 10.96 MB / 458.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.machine.e2d:VARIABLE(start = G1.machine.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * 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: 2 * 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 {(1,100.0%) 1} * Non-linear torn systems: 1 {7 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002067/1.001, allocations: 128.8 kB / 0.7152 GB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/1.001, allocations: 78.97 kB / 0.7153 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005574/1.007, allocations: 1.974 MB / 0.7172 GB, free: 9.137 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/1.007, allocations: 11.98 kB / 0.7172 GB, free: 9.125 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/1.007, allocations: 4 kB / 0.7172 GB, free: 9.121 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/1.007, allocations: 0 / 0.7172 GB, free: 9.121 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006626/1.014, allocations: 2.946 MB / 0.7201 GB, free: 6.754 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.014, allocations: 4 kB / 0.7201 GB, free: 6.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004742/1.014, allocations: 63.81 kB / 0.7202 GB, free: 6.688 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002968/1.017, allocations: 0.8649 MB / 0.721 GB, free: 5.938 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.086e-05/1.017, allocations: 7.938 kB / 0.721 GB, free: 5.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00568/1.023, allocations: 3.12 MB / 0.7241 GB, free: 3.336 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.023, allocations: 0 / 0.7241 GB, free: 3.336 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006129/1.029, allocations: 2.48 MB / 0.7265 GB, free: 1.406 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006796/1.036, allocations: 3.32 MB / 0.7297 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/1.036, allocations: 180.9 kB / 0.7299 GB, free: 14.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/1.036, allocations: 0 / 0.7299 GB, free: 14.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007832/1.037, allocations: 67.95 kB / 0.73 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/1.037, allocations: 56.14 kB / 0.73 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-05/1.037, allocations: 22.92 kB / 0.7301 GB, free: 14.57 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0006073/1.038, allocations: 470.2 kB / 0.7305 GB, free: 14.26 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001335/1.039, allocations: 261.2 kB / 0.7307 GB, free: 14.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * 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.0002338/1.04, allocations: 129.2 kB / 0.7309 GB, free: 13.88 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003476/1.043, allocations: 1.499 MB / 0.7323 GB, free: 12.64 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.043, allocations: 0 / 0.7323 GB, free: 12.64 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002542/1.046, allocations: 1.052 MB / 0.7334 GB, free: 11.55 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/1.046, allocations: 42.98 kB / 0.7334 GB, free: 11.51 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002591/1.049, allocations: 1.21 MB / 0.7346 GB, free: 10.27 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006934/1.049, allocations: 1.019 MB / 0.7356 GB, free: 9.223 MB / 474.7 MB Notification: Performance of SimCode: time 2.91e-07/1.049, allocations: 0 / 0.7356 GB, free: 9.223 MB / 474.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)