Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.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,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.003575/0.003575, allocations: 180.7 kB / 7.459 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.211/1.211, allocations: 221.4 MB / 229.3 MB, free: 3.055 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.0009272/0.0009272, allocations: 93.2 kB / 280.1 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4066/0.4066, allocations: 78.92 MB / 409.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1455/0.5522, allocations: 75.64 MB / 485.5 MB, free: 3.531 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.8275, allocations: 69.5 MB / 0.5419 GB, free: 20.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1141/0.9417, allocations: 97.17 MB / 0.6368 GB, free: 6.715 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001667/0.9419, allocations: 67.97 kB / 0.6369 GB, free: 6.648 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.05862/1.001, allocations: 21.45 MB / 0.6579 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/1.001, allocations: 8 kB / 0.6579 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/1.003, allocations: 402.3 kB / 0.6582 GB, free: 0.582 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/1.004, allocations: 0.5541 MB / 0.6588 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/1.004, allocations: 134 kB / 0.6589 GB, free: 15.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.833e-05/1.004, allocations: 35.91 kB / 0.6589 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001018/1.005, allocations: 0.5136 MB / 0.6595 GB, free: 15.28 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009269/1.006, allocations: 0.5011 MB / 0.6599 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/1.006, allocations: 0 / 0.6599 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.766e-05/1.006, allocations: 0 / 0.6599 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/1.007, allocations: 12 kB / 0.66 GB, free: 14.76 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005108/1.012, allocations: 2.73 MB / 0.6626 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007805/1.012, allocations: 362.7 kB / 0.663 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005304/1.013, allocations: 338.3 kB / 0.6633 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.695e-05/1.013, allocations: 12.5 kB / 0.6633 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/1.013, allocations: 43 kB / 0.6633 GB, free: 11.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 2.384e-06/1.013, allocations: 0 / 0.6633 GB, free: 11.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.005896/1.019, allocations: 1.926 MB / 0.6652 GB, free: 9.199 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/1.019, allocations: 59.91 kB / 0.6653 GB, free: 9.129 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/1.02, allocations: 0.5977 MB / 0.6659 GB, free: 8.527 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.481e-05/1.02, allocations: 25.7 kB / 0.6659 GB, free: 8.496 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/1.02, allocations: 248.6 kB / 0.6661 GB, free: 8.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/1.021, allocations: 201 kB / 0.6663 GB, free: 8.051 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/1.021, allocations: 0 / 0.6663 GB, free: 8.051 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/1.021, allocations: 326 kB / 0.6666 GB, free: 7.727 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005405/1.022, allocations: 293.3 kB / 0.6669 GB, free: 7.441 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/1.022, allocations: 368.7 kB / 0.6673 GB, free: 7.059 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005954/1.023, allocations: 323.8 kB / 0.6676 GB, free: 6.742 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.023, allocations: 0 / 0.6676 GB, free: 6.742 MB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.006705/1.029, allocations: 2.095 MB / 0.6696 GB, free: 4.629 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.029, allocations: 8 kB / 0.6696 GB, free: 4.621 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.03, allocations: 4 kB / 0.6696 GB, free: 4.617 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004207/1.034, allocations: 1.008 MB / 0.6706 GB, free: 3.598 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/1.034, allocations: 83.91 kB / 0.6707 GB, free: 3.516 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1584/1.193, allocations: 5.075 MB / 0.6756 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/1.194, allocations: 105.9 kB / 0.6757 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-05/1.194, allocations: 22.84 kB / 0.6758 GB, free: 144.7 MB / 490.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.0002269/1.194, allocations: 121 kB / 0.6759 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/1.194, allocations: 87.41 kB / 0.676 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005269/1.2, allocations: 1.98 MB / 0.6779 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/1.2, allocations: 3.938 kB / 0.6779 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/1.2, allocations: 3.969 kB / 0.6779 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/1.2, allocations: 0 / 0.6779 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006201/1.206, allocations: 2.95 MB / 0.6808 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/1.206, allocations: 0 / 0.6808 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/1.206, allocations: 66.12 kB / 0.6808 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002755/1.209, allocations: 0.8727 MB / 0.6817 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.435e-05/1.209, allocations: 3.938 kB / 0.6817 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005216/1.214, allocations: 3.123 MB / 0.6848 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.214, allocations: 3.609 kB / 0.6848 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005796/1.22, allocations: 2.467 MB / 0.6872 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006376/1.227, allocations: 3.318 MB / 0.6904 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/1.227, allocations: 180.6 kB / 0.6906 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/1.227, allocations: 3.906 kB / 0.6906 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007825/1.228, allocations: 71.19 kB / 0.6907 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/1.228, allocations: 59.77 kB / 0.6907 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/1.228, allocations: 15.28 kB / 0.6907 GB, free: 141.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000512/1.229, allocations: 470 kB / 0.6912 GB, free: 141.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001325/1.23, allocations: 261.5 kB / 0.6914 GB, free: 141.7 MB / 490.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.0002066/1.23, allocations: 133 kB / 0.6915 GB, free: 141.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003201/1.233, allocations: 1.51 MB / 0.693 GB, free: 141.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.233, allocations: 0 / 0.693 GB, free: 141.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002447/1.236, allocations: 1.05 MB / 0.694 GB, free: 140.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/1.236, allocations: 47.23 kB / 0.6941 GB, free: 140.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/1.239, allocations: 1.202 MB / 0.6953 GB, free: 140.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006303/1.24, allocations: 1.014 MB / 0.6963 GB, free: 139.6 MB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/1.24, allocations: 0 / 0.6963 GB, free: 139.6 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)