Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,fileNamePrefix="OpenIPSL_dev_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.002241/0.002241, allocations: 179.9 kB / 7.457 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.149/1.149, allocations: 221.4 MB / 229.3 MB, free: 3 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.000981/0.0009809, allocations: 98.31 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.4196/0.4196, allocations: 78.92 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1283/0.548, allocations: 75.65 MB / 485.5 MB, free: 3.547 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.8109, allocations: 69.49 MB / 0.5419 GB, free: 20.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.9235, allocations: 98.74 MB / 0.6384 GB, free: 5.176 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001647/0.9237, allocations: 75.97 kB / 0.6384 GB, free: 5.102 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.06171/0.9855, allocations: 23.1 MB / 0.661 GB, free: 13.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.9855, allocations: 8 kB / 0.661 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002465/0.988, allocations: 402.3 kB / 0.6614 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.9891, allocations: 0.6143 MB / 0.662 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/0.9893, allocations: 130.4 kB / 0.6621 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.9894, allocations: 32 kB / 0.6621 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001051/0.9905, allocations: 0.5572 MB / 0.6627 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.9916, allocations: 0.6133 MB / 0.6633 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.9916, allocations: 0 / 0.6633 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.388e-05/0.9917, allocations: 11.94 kB / 0.6633 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.9917, allocations: 12 kB / 0.6633 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005136/0.9969, allocations: 2.978 MB / 0.6662 GB, free: 8.215 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.9979, allocations: 486.9 kB / 0.6667 GB, free: 7.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005925/0.9985, allocations: 374.9 kB / 0.667 GB, free: 7.363 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.459e-05/0.9986, allocations: 20.56 kB / 0.6671 GB, free: 7.344 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.9987, allocations: 39.22 kB / 0.6671 GB, free: 7.297 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 1.923e-06/0.9987, allocations: 0 / 0.6671 GB, free: 7.297 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.005889/1.005, allocations: 1.984 MB / 0.669 GB, free: 5.297 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/1.005, allocations: 93.61 kB / 0.6691 GB, free: 5.188 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008105/1.005, allocations: 0.6214 MB / 0.6697 GB, free: 4.562 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.358e-05/1.006, allocations: 25.7 kB / 0.6698 GB, free: 4.531 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/1.006, allocations: 256.6 kB / 0.67 GB, free: 4.273 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000239/1.006, allocations: 228.6 kB / 0.6702 GB, free: 4.047 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/1.006, allocations: 0 / 0.6702 GB, free: 4.047 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/1.006, allocations: 341.8 kB / 0.6705 GB, free: 3.707 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/1.007, allocations: 325.6 kB / 0.6708 GB, free: 3.391 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006052/1.007, allocations: 422.5 kB / 0.6713 GB, free: 2.949 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006015/1.008, allocations: 363.1 kB / 0.6716 GB, free: 2.594 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.008, allocations: 4 kB / 0.6716 GB, free: 2.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006697/1.015, allocations: 2.199 MB / 0.6738 GB, free: 384 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1533/1.168, allocations: 0.7006 MB / 0.6744 GB, free: 144.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.168, allocations: 0 / 0.6744 GB, free: 144.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003807/1.172, allocations: 0.9812 MB / 0.6754 GB, free: 144.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/1.172, allocations: 108.4 kB / 0.6755 GB, free: 144.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007025/1.18, allocations: 3.933 MB / 0.6793 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/1.181, allocations: 118.2 kB / 0.6795 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-05/1.181, allocations: 25.06 kB / 0.6795 GB, free: 143 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/1.181, allocations: 3.719 kB / 0.6795 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005905/1.187, allocations: 2.076 MB / 0.6815 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/1.187, allocations: 0 / 0.6815 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003538/1.19, allocations: 0.9823 MB / 0.6825 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/1.191, allocations: 107.6 kB / 0.6826 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006716/1.197, allocations: 3.942 MB / 0.6864 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009702/1.198, allocations: 103.9 kB / 0.6865 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.771e-05/1.199, allocations: 24.02 kB / 0.6865 GB, free: 141.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.0001784/1.199, allocations: 117.5 kB / 0.6867 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/1.199, allocations: 86.94 kB / 0.6867 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005267/1.204, allocations: 2.053 MB / 0.6887 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.204, allocations: 9.875 kB / 0.6887 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/1.204, allocations: 6.656 kB / 0.6888 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.204, allocations: 0 / 0.6888 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006585/1.211, allocations: 3.212 MB / 0.6919 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.211, allocations: 0 / 0.6919 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/1.211, allocations: 87.59 kB / 0.692 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002706/1.214, allocations: 0.8709 MB / 0.6928 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.656e-05/1.214, allocations: 7.406 kB / 0.6928 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005218/1.219, allocations: 3.114 MB / 0.6959 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.219, allocations: 1.5 kB / 0.6959 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006376/1.226, allocations: 2.626 MB / 0.6984 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007107/1.233, allocations: 3.508 MB / 0.7019 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/1.233, allocations: 181.5 kB / 0.702 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/1.233, allocations: 6.312 kB / 0.702 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000913/1.234, allocations: 80.81 kB / 0.7021 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/1.234, allocations: 66.84 kB / 0.7022 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.718e-05/1.234, allocations: 23.41 kB / 0.7022 GB, free: 138.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006486/1.235, allocations: 488.6 kB / 0.7027 GB, free: 138.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002566/1.238, allocations: 443.5 kB / 0.7031 GB, free: 138.1 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.0002486/1.238, allocations: 144.4 kB / 0.7032 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006402/1.244, allocations: 2.687 MB / 0.7059 GB, free: 137.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.244, allocations: 0 / 0.7059 GB, free: 137.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002527/1.247, allocations: 1.089 MB / 0.7069 GB, free: 136.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/1.247, allocations: 51 kB / 0.707 GB, free: 136.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/1.251, allocations: 1.535 MB / 0.7085 GB, free: 136.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005978/1.251, allocations: 1.063 MB / 0.7095 GB, free: 135.5 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/1.251, allocations: 2.625 kB / 0.7095 GB, free: 135.5 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR.fmu > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)