Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.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,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR",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.001758/0.001758, allocations: 177.6 kB / 7.456 MB, free: 2.34 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.053/1.053, allocations: 221.4 MB / 229.3 MB, free: 3.02 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.0008425/0.0008425, allocations: 105.1 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.355/0.355, allocations: 78.11 MB / 409 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1097/0.4648, allocations: 75.49 MB / 484.5 MB, free: 4.086 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.6847, allocations: 69.34 MB / 0.5408 GB, free: 21.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09415/0.7789, allocations: 98.05 MB / 0.6366 GB, free: 6.824 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.7792, allocations: 71.95 kB / 0.6367 GB, free: 6.754 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.05685/0.836, allocations: 22.91 MB / 0.659 GB, free: 15.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.8361, allocations: 8 kB / 0.659 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002159/0.8382, allocations: 406.3 kB / 0.6594 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008088/0.8391, allocations: 0.6105 MB / 0.66 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.8392, allocations: 134.4 kB / 0.6601 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.365e-05/0.8393, allocations: 32 kB / 0.6602 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009274/0.8402, allocations: 0.5533 MB / 0.6607 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000983/0.8412, allocations: 0.6171 MB / 0.6613 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.8413, allocations: 0 / 0.6613 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.267e-05/0.8413, allocations: 3.984 kB / 0.6613 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.8413, allocations: 15.94 kB / 0.6613 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004581/0.8459, allocations: 2.976 MB / 0.6642 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009643/0.8469, allocations: 494.9 kB / 0.6647 GB, free: 9.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005274/0.8474, allocations: 374.9 kB / 0.6651 GB, free: 9.203 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.44e-05/0.8475, allocations: 16.64 kB / 0.6651 GB, free: 9.188 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.8476, allocations: 35.22 kB / 0.6651 GB, free: 9.145 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 1.573e-06/0.8476, allocations: 0 / 0.6651 GB, free: 9.145 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.005516/0.8531, allocations: 1.992 MB / 0.6671 GB, free: 7.137 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.8531, allocations: 89.67 kB / 0.6672 GB, free: 7.031 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006917/0.8538, allocations: 0.6214 MB / 0.6678 GB, free: 6.406 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.8539, allocations: 25.7 kB / 0.6678 GB, free: 6.375 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.854, allocations: 256.6 kB / 0.668 GB, free: 6.117 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.8542, allocations: 224.6 kB / 0.6682 GB, free: 5.895 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.8543, allocations: 4 kB / 0.6682 GB, free: 5.891 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.8544, allocations: 337.9 kB / 0.6686 GB, free: 5.555 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005181/0.8549, allocations: 325.6 kB / 0.6689 GB, free: 5.238 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005654/0.8555, allocations: 422.6 kB / 0.6693 GB, free: 4.797 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/0.856, allocations: 371.1 kB / 0.6696 GB, free: 4.434 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.856, allocations: 0 / 0.6696 GB, free: 4.434 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00608/0.8621, allocations: 2.199 MB / 0.6718 GB, free: 2.219 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001889/0.8623, allocations: 0.7017 MB / 0.6725 GB, free: 1.461 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.8623, allocations: 0 / 0.6725 GB, free: 1.461 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003626/0.866, allocations: 0.9761 MB / 0.6734 GB, free: 488 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000547/0.8665, allocations: 107.8 kB / 0.6735 GB, free: 380 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1301/0.9966, allocations: 3.935 MB / 0.6774 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009101/0.9976, allocations: 113.1 kB / 0.6775 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.73e-05/0.9977, allocations: 32.16 kB / 0.6775 GB, free: 144 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.471e-06/0.9977, allocations: 3.906 kB / 0.6775 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005498/1.003, allocations: 2.079 MB / 0.6795 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/1.003, allocations: 6.062 kB / 0.6795 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003368/1.007, allocations: 0.9738 MB / 0.6805 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/1.007, allocations: 105.8 kB / 0.6806 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006265/1.013, allocations: 3.938 MB / 0.6844 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007935/1.014, allocations: 104.3 kB / 0.6845 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.37e-05/1.014, allocations: 23.45 kB / 0.6846 GB, free: 142.7 MB / 490.7 MB 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 (65): * Single equations (assignments): 62 * 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.0001489/1.014, allocations: 111.4 kB / 0.6847 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/1.015, allocations: 87.69 kB / 0.6848 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004969/1.019, allocations: 2.055 MB / 0.6868 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.019, allocations: 12.83 kB / 0.6868 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.02, allocations: 6.5 kB / 0.6868 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/1.02, allocations: 3.562 kB / 0.6868 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006207/1.026, allocations: 3.207 MB / 0.6899 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/1.026, allocations: 7.344 kB / 0.6899 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005274/1.026, allocations: 81.92 kB / 0.69 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002572/1.029, allocations: 0.8751 MB / 0.6909 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.305e-05/1.029, allocations: 9.406 kB / 0.6909 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004844/1.034, allocations: 3.111 MB / 0.6939 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.034, allocations: 6.344 kB / 0.6939 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005695/1.04, allocations: 2.621 MB / 0.6965 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006571/1.046, allocations: 3.501 MB / 0.6999 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/1.046, allocations: 188.4 kB / 0.7001 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/1.046, allocations: 5.812 kB / 0.7001 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000829/1.047, allocations: 77.94 kB / 0.7001 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/1.047, allocations: 67.5 kB / 0.7002 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/1.047, allocations: 16.34 kB / 0.7002 GB, free: 139.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005528/1.048, allocations: 486.2 kB / 0.7007 GB, free: 139.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002247/1.05, allocations: 452.9 kB / 0.7011 GB, free: 139.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * 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.0002169/1.051, allocations: 140.6 kB / 0.7013 GB, free: 139.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005875/1.056, allocations: 2.685 MB / 0.7039 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.056, allocations: 0 / 0.7039 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00231/1.059, allocations: 1.092 MB / 0.7049 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/1.059, allocations: 51.3 kB / 0.705 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/1.063, allocations: 1.538 MB / 0.7065 GB, free: 137.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005789/1.063, allocations: 1.062 MB / 0.7075 GB, free: 136.8 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/1.063, allocations: 0 / 0.7075 GB, free: 136.8 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR.fmu > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)