Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,fileNamePrefix="OpenIPSL_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.003472/0.003472, allocations: 179 kB / 7.46 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.151/1.151, allocations: 221.4 MB / 229.3 MB, free: 3.082 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.0009275/0.0009275, allocations: 95.42 kB / 280.1 MB, free: 1.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3975/0.3975, allocations: 78.05 MB / 409 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1413/0.5388, allocations: 75.48 MB / 484.4 MB, free: 4.363 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.8078, allocations: 69.35 MB / 0.5408 GB, free: 21.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1073/0.9151, allocations: 98.05 MB / 0.6366 GB, free: 6.777 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.9154, allocations: 71.97 kB / 0.6366 GB, free: 6.707 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.06399/0.9794, allocations: 22.92 MB / 0.659 GB, free: 15.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.9794, allocations: 8 kB / 0.659 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/0.9819, allocations: 402.3 kB / 0.6594 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.983, allocations: 0.6106 MB / 0.66 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.9832, allocations: 126.4 kB / 0.6601 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.9833, allocations: 36 kB / 0.6602 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001123/0.9844, allocations: 0.5533 MB / 0.6607 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.9857, allocations: 0.6172 MB / 0.6613 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.9857, allocations: 4 kB / 0.6613 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.116e-05/0.9858, allocations: 3.906 kB / 0.6613 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.9858, allocations: 15.98 kB / 0.6613 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005669/0.9915, allocations: 2.967 MB / 0.6642 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.9926, allocations: 494.8 kB / 0.6647 GB, free: 9.523 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000628/0.9932, allocations: 378.9 kB / 0.665 GB, free: 9.152 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.55e-05/0.9933, allocations: 16.62 kB / 0.6651 GB, free: 9.137 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.9934, allocations: 35.22 kB / 0.6651 GB, free: 9.094 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.705e-06/0.9934, allocations: 0 / 0.6651 GB, free: 9.094 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.005991/0.9994, allocations: 1.988 MB / 0.667 GB, free: 7.086 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.9994, allocations: 89.77 kB / 0.6671 GB, free: 6.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009176/1, allocations: 0.6213 MB / 0.6677 GB, free: 6.355 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.947e-05/1, allocations: 25.7 kB / 0.6678 GB, free: 6.324 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/1.001, allocations: 256.6 kB / 0.668 GB, free: 6.066 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/1.001, allocations: 224.6 kB / 0.6682 GB, free: 5.844 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/1.001, allocations: 0 / 0.6682 GB, free: 5.844 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/1.001, allocations: 337.8 kB / 0.6685 GB, free: 5.508 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/1.002, allocations: 333.5 kB / 0.6689 GB, free: 5.184 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006427/1.002, allocations: 422.6 kB / 0.6693 GB, free: 4.742 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000621/1.003, allocations: 363.2 kB / 0.6696 GB, free: 4.391 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.003, allocations: 4 kB / 0.6696 GB, free: 4.387 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006646/1.01, allocations: 2.203 MB / 0.6718 GB, free: 2.168 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002997/1.01, allocations: 0.7017 MB / 0.6724 GB, free: 1.406 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.01, allocations: 0 / 0.6724 GB, free: 1.406 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004057/1.014, allocations: 0.9795 MB / 0.6734 GB, free: 428 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006833/1.015, allocations: 107.8 kB / 0.6735 GB, free: 320 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2299/1.245, allocations: 3.932 MB / 0.6773 GB, free: 78.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/1.246, allocations: 120.2 kB / 0.6775 GB, free: 78.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.461e-05/1.246, allocations: 21.94 kB / 0.6775 GB, free: 78.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/1.246, allocations: 3.844 kB / 0.6775 GB, free: 78.74 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005838/1.252, allocations: 2.086 MB / 0.6795 GB, free: 78.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.252, allocations: 0 / 0.6795 GB, free: 78.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003592/1.255, allocations: 0.977 MB / 0.6805 GB, free: 78.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/1.256, allocations: 101.4 kB / 0.6806 GB, free: 78.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007037/1.263, allocations: 3.942 MB / 0.6844 GB, free: 77.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/1.264, allocations: 104.9 kB / 0.6845 GB, free: 77.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-05/1.264, allocations: 20.81 kB / 0.6845 GB, free: 77.37 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.0002288/1.265, allocations: 117.5 kB / 0.6847 GB, free: 77.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/1.265, allocations: 89 kB / 0.6847 GB, free: 77.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005382/1.27, allocations: 2.06 MB / 0.6867 GB, free: 77.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/1.27, allocations: 9.812 kB / 0.6868 GB, free: 77.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.27, allocations: 3.094 kB / 0.6868 GB, free: 77.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/1.27, allocations: 3.328 kB / 0.6868 GB, free: 77.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006819/1.277, allocations: 3.207 MB / 0.6899 GB, free: 76.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.277, allocations: 2.312 kB / 0.6899 GB, free: 76.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/1.278, allocations: 84.81 kB / 0.69 GB, free: 76.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002792/1.281, allocations: 0.8736 MB / 0.6908 GB, free: 76.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/1.281, allocations: 10.19 kB / 0.6908 GB, free: 76.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005221/1.286, allocations: 3.109 MB / 0.6939 GB, free: 75.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.286, allocations: 0 / 0.6939 GB, free: 75.16 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006406/1.292, allocations: 2.627 MB / 0.6964 GB, free: 74.78 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007598/1.3, allocations: 3.506 MB / 0.6999 GB, free: 74.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003084/1.3, allocations: 179.2 kB / 0.7 GB, free: 73.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/1.301, allocations: 8.406 kB / 0.7 GB, free: 73.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008995/1.301, allocations: 78.45 kB / 0.7001 GB, free: 73.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/1.302, allocations: 63.17 kB / 0.7002 GB, free: 73.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.548e-05/1.302, allocations: 19.5 kB / 0.7002 GB, free: 73.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006975/1.302, allocations: 490.6 kB / 0.7007 GB, free: 73.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002646/1.305, allocations: 448.7 kB / 0.7011 GB, free: 73.77 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.0002471/1.305, allocations: 141 kB / 0.7012 GB, free: 73.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006796/1.312, allocations: 2.683 MB / 0.7038 GB, free: 72.94 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.312, allocations: 0 / 0.7038 GB, free: 72.94 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00246/1.315, allocations: 1.1 MB / 0.7049 GB, free: 72.08 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006478/1.315, allocations: 53 kB / 0.705 GB, free: 72.06 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/1.319, allocations: 1.53 MB / 0.7065 GB, free: 70.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005808/1.319, allocations: 1.063 MB / 0.7075 GB, free: 69.93 MB / 490.7 MB Notification: Performance of SimCode: time 5.62e-07/1.319, allocations: 0 / 0.7075 GB, free: 69.93 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_AVR.fmu > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)