Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_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.002178/0.002178, allocations: 184.8 kB / 7.463 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.168/1.168, allocations: 221.4 MB / 229.3 MB, free: 3.152 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.0009025/0.0009025, allocations: 106.6 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4064/0.4064, allocations: 78.06 MB / 409 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1381/0.5445, allocations: 75.48 MB / 484.4 MB, free: 4.336 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.8088, allocations: 69.35 MB / 0.5408 GB, free: 21.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1121/0.921, allocations: 96.49 MB / 0.635 GB, free: 8.301 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.9213, allocations: 71.97 kB / 0.6351 GB, free: 8.23 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.05758/0.9789, allocations: 21.26 MB / 0.6559 GB, free: 2.75 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.9789, allocations: 12 kB / 0.6559 GB, free: 2.738 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002342/0.9812, allocations: 398.4 kB / 0.6562 GB, free: 2.348 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008911/0.9821, allocations: 0.5619 MB / 0.6568 GB, free: 1.742 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.9823, allocations: 130.8 kB / 0.6569 GB, free: 1.598 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.812e-05/0.9824, allocations: 35.91 kB / 0.657 GB, free: 1.562 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009674/0.9834, allocations: 0.5136 MB / 0.6575 GB, free: 1.043 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009716/0.9844, allocations: 0.5004 MB / 0.6579 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.9844, allocations: 0 / 0.6579 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.847e-05/0.9845, allocations: 0 / 0.6579 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.9845, allocations: 15.94 kB / 0.658 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004775/0.9893, allocations: 2.72 MB / 0.6606 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/0.99, allocations: 370.6 kB / 0.661 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005264/0.9905, allocations: 342.3 kB / 0.6613 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.165e-05/0.9906, allocations: 4.5 kB / 0.6613 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.9907, allocations: 43.05 kB / 0.6613 GB, free: 12.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 2.104e-06/0.9907, allocations: 0 / 0.6613 GB, free: 12.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.006005/0.9967, allocations: 1.919 MB / 0.6632 GB, free: 10.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.9967, allocations: 59.91 kB / 0.6633 GB, free: 10.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007783/0.9975, allocations: 0.5977 MB / 0.6639 GB, free: 10.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.9976, allocations: 29.7 kB / 0.6639 GB, free: 10.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.9977, allocations: 248.6 kB / 0.6641 GB, free: 10.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.9979, allocations: 197 kB / 0.6643 GB, free: 9.828 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.178e-05/0.998, allocations: 0 / 0.6643 GB, free: 9.828 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.9981, allocations: 326 kB / 0.6646 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000496/0.9986, allocations: 297.2 kB / 0.6649 GB, free: 9.215 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/0.9992, allocations: 368.8 kB / 0.6653 GB, free: 8.832 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005564/0.9998, allocations: 327.8 kB / 0.6656 GB, free: 8.512 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.9998, allocations: 0 / 0.6656 GB, free: 8.512 MB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.006559/1.006, allocations: 2.091 MB / 0.6676 GB, free: 6.402 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/1.006, allocations: 4 kB / 0.6676 GB, free: 6.398 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.006, allocations: 3.984 kB / 0.6676 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004075/1.01, allocations: 1.012 MB / 0.6686 GB, free: 5.371 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004751/1.011, allocations: 83.84 kB / 0.6687 GB, free: 5.289 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1548/1.166, allocations: 5.084 MB / 0.6737 GB, free: 146.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/1.167, allocations: 96.39 kB / 0.6737 GB, free: 146.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.275e-05/1.167, allocations: 24.78 kB / 0.6738 GB, free: 146.1 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.0002188/1.167, allocations: 122.2 kB / 0.6739 GB, free: 146 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/1.167, allocations: 85.84 kB / 0.674 GB, free: 146 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005237/1.172, allocations: 1.977 MB / 0.6759 GB, free: 146 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/1.173, allocations: 6.125 kB / 0.6759 GB, free: 146 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/1.173, allocations: 7.438 kB / 0.6759 GB, free: 146 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/1.173, allocations: 7.078 kB / 0.6759 GB, free: 146 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006054/1.179, allocations: 2.936 MB / 0.6788 GB, free: 145.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.179, allocations: 3.875 kB / 0.6788 GB, free: 145.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/1.179, allocations: 70.92 kB / 0.6789 GB, free: 145.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002812/1.182, allocations: 0.8656 MB / 0.6797 GB, free: 145.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.587e-05/1.182, allocations: 3.609 kB / 0.6797 GB, free: 145.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005515/1.188, allocations: 3.121 MB / 0.6828 GB, free: 144.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.188, allocations: 0 / 0.6828 GB, free: 144.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005933/1.193, allocations: 2.473 MB / 0.6852 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006611/1.2, allocations: 3.314 MB / 0.6884 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003199/1.2, allocations: 181.7 kB / 0.6886 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/1.201, allocations: 0.6875 kB / 0.6886 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008118/1.201, allocations: 71.2 kB / 0.6886 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/1.202, allocations: 61.38 kB / 0.6887 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/1.202, allocations: 15.48 kB / 0.6887 GB, free: 143.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006269/1.202, allocations: 476.7 kB / 0.6892 GB, free: 143.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001426/1.204, allocations: 255.3 kB / 0.6894 GB, free: 143.1 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.0002205/1.204, allocations: 138.3 kB / 0.6895 GB, free: 143 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003225/1.207, allocations: 1.504 MB / 0.691 GB, free: 142.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.207, allocations: 3.75 kB / 0.691 GB, free: 142.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002345/1.21, allocations: 1.047 MB / 0.692 GB, free: 142.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/1.21, allocations: 48.72 kB / 0.6921 GB, free: 142.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/1.213, allocations: 1.21 MB / 0.6933 GB, free: 141.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007665/1.214, allocations: 1.013 MB / 0.6943 GB, free: 141 MB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/1.214, allocations: 0 / 0.6943 GB, free: 141 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)