Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.004405/0.004406, allocations: 182.9 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.091/1.091, allocations: 205.2 MB / 213.1 MB, free: 13.88 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000848/0.000848, allocations: 103.8 kB / 261.1 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0584/0.0584, allocations: 12.19 MB / 321.2 MB, free: 1.324 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2734/0.2734, allocations: 78.04 MB / 449.9 MB, free: 3.688 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2239/0.4973, allocations: 76.08 MB / 0.5137 GB, free: 30.38 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09981/0.5972, allocations: 69.24 MB / 0.5813 GB, free: 9.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2853/0.8825, allocations: 99.55 MB / 0.6785 GB, free: 9.363 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001733/0.8827, allocations: 76.02 kB / 0.6786 GB, free: 9.352 MB / 426.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.05725/0.94, allocations: 22.28 MB / 0.7003 GB, free: 7.164 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.9401, allocations: 11.94 kB / 0.7003 GB, free: 7.152 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002494/0.9426, allocations: 404.6 kB / 0.7007 GB, free: 6.789 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.9437, allocations: 0.6099 MB / 0.7013 GB, free: 6.277 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.9439, allocations: 146.3 kB / 0.7014 GB, free: 6.113 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.9441, allocations: 35.91 kB / 0.7015 GB, free: 6.078 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001049/0.9452, allocations: 0.5535 MB / 0.702 GB, free: 5.758 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.9463, allocations: 0.6142 MB / 0.7026 GB, free: 5.332 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.9463, allocations: 0 / 0.7026 GB, free: 5.332 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.656e-05/0.9464, allocations: 3.938 kB / 0.7026 GB, free: 5.328 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.9464, allocations: 12 kB / 0.7026 GB, free: 5.316 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005382/0.9518, allocations: 2.967 MB / 0.7055 GB, free: 3.004 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.9529, allocations: 494.4 kB / 0.706 GB, free: 2.691 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005602/0.9535, allocations: 379.4 kB / 0.7064 GB, free: 2.496 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.452e-05/0.9536, allocations: 12.66 kB / 0.7064 GB, free: 2.484 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.9536, allocations: 42.56 kB / 0.7064 GB, free: 2.438 MB / 442.7 MB Notification: Performance of pre-optimization done (n=64): time 2.074e-06/0.9536, allocations: 0 / 0.7064 GB, free: 2.438 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.0059/0.9595, allocations: 1.982 MB / 0.7084 GB, free: 0.793 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.9596, allocations: 85.77 kB / 0.7084 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008996/0.9605, allocations: 0.6325 MB / 0.7091 GB, free: 236 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.603e-05/0.9606, allocations: 25.7 kB / 0.7091 GB, free: 204 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.9608, allocations: 251.3 kB / 0.7093 GB, free: 15.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000223/0.961, allocations: 226.5 kB / 0.7095 GB, free: 15.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.9611, allocations: 0 / 0.7095 GB, free: 15.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.9612, allocations: 332.9 kB / 0.7099 GB, free: 15.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005335/0.9617, allocations: 333.8 kB / 0.7102 GB, free: 15.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/0.9623, allocations: 419.9 kB / 0.7106 GB, free: 15.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005989/0.9629, allocations: 365.7 kB / 0.7109 GB, free: 14.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.9629, allocations: 32 / 0.7109 GB, free: 14.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006519/0.9694, allocations: 2.204 MB / 0.7131 GB, free: 13.02 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000239/0.9697, allocations: 0.7079 MB / 0.7138 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.9697, allocations: 8 kB / 0.7138 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00386/0.9736, allocations: 0.983 MB / 0.7147 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006342/0.9742, allocations: 119.1 kB / 0.7148 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007705/0.9819, allocations: 3.927 MB / 0.7187 GB, free: 8.266 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.9831, allocations: 111.4 kB / 0.7188 GB, free: 8.156 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.9832, allocations: 27.83 kB / 0.7188 GB, free: 8.133 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.9832, allocations: 4 kB / 0.7188 GB, free: 8.129 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006315/0.9896, allocations: 2.08 MB / 0.7208 GB, free: 6.441 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.9896, allocations: 4 kB / 0.7209 GB, free: 6.438 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003814/0.9934, allocations: 0.9774 MB / 0.7218 GB, free: 5.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005803/0.994, allocations: 103.8 kB / 0.7219 GB, free: 5.492 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007529/1.002, allocations: 3.936 MB / 0.7258 GB, free: 2.434 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/1.003, allocations: 107.4 kB / 0.7259 GB, free: 2.328 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.33e-05/1.003, allocations: 23.61 kB / 0.7259 GB, free: 2.309 MB / 458.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.0002135/1.003, allocations: 117.6 kB / 0.726 GB, free: 2.188 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/1.003, allocations: 86.88 kB / 0.7261 GB, free: 2.102 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005709/1.009, allocations: 2.05 MB / 0.7281 GB, free: 448 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/1.009, allocations: 15.98 kB / 0.7281 GB, free: 432 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/1.009, allocations: 4 kB / 0.7281 GB, free: 428 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/1.009, allocations: 0 / 0.7281 GB, free: 428 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007402/1.016, allocations: 3.22 MB / 0.7312 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.016, allocations: 0 / 0.7312 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/1.017, allocations: 83.45 kB / 0.7313 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003089/1.02, allocations: 0.8696 MB / 0.7322 GB, free: 13.06 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.622e-05/1.02, allocations: 6.188 kB / 0.7322 GB, free: 13.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00621/1.026, allocations: 3.116 MB / 0.7352 GB, free: 9.875 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.026, allocations: 3.984 kB / 0.7352 GB, free: 9.871 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006512/1.033, allocations: 2.621 MB / 0.7378 GB, free: 7.207 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007268/1.04, allocations: 3.505 MB / 0.7412 GB, free: 3.652 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/1.041, allocations: 187.8 kB / 0.7414 GB, free: 3.449 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/1.041, allocations: 12 kB / 0.7414 GB, free: 3.438 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009225/1.042, allocations: 75.94 kB / 0.7415 GB, free: 3.363 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/1.042, allocations: 68.44 kB / 0.7415 GB, free: 3.297 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.386e-05/1.042, allocations: 16 kB / 0.7415 GB, free: 3.281 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0006802/1.043, allocations: 487.7 kB / 0.742 GB, free: 2.809 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002517/1.045, allocations: 459.2 kB / 0.7424 GB, free: 2.359 MB / 474.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.0002605/1.045, allocations: 127.1 kB / 0.7426 GB, free: 2.227 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006648/1.052, allocations: 2.684 MB / 0.7452 GB, free: 15.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.052, allocations: 0 / 0.7452 GB, free: 15.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002629/1.055, allocations: 1.094 MB / 0.7463 GB, free: 14.28 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/1.055, allocations: 51.25 kB / 0.7463 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/1.059, allocations: 1.539 MB / 0.7478 GB, free: 12.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000881/1.06, allocations: 1.061 MB / 0.7488 GB, free: 11.56 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/1.06, allocations: 0 / 0.7488 GB, free: 11.56 MB / 490.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_AVR.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)