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: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") [: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.001747/0.001747, allocations: 183 kB / 7.462 MB, free: 2.48 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.028/1.028, allocations: 221.4 MB / 229.3 MB, free: 2.984 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.0009193/0.0009193, allocations: 102.2 kB / 280.1 MB, free: 1.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3531/0.3531, allocations: 78.09 MB / 409 MB, free: 15.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.029e-06/5.16e-06, allocations: 0 / 484.4 MB, free: 4.551 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2242, allocations: 69.34 MB / 0.5407 GB, free: 21.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09386/0.3181, allocations: 98.05 MB / 0.6365 GB, free: 6.891 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00015/0.3182, allocations: 75.94 kB / 0.6366 GB, free: 6.816 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05316/0.3714, allocations: 21.6 MB / 0.6577 GB, free: 1.039 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.267e-05/0.3715, allocations: 20 kB / 0.6577 GB, free: 1.02 MB / 474.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.002633/0.3741, allocations: 1.29 MB / 0.6589 GB, free: 15.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.3741, allocations: 9.125 kB / 0.6589 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/0.3763, allocations: 402.3 kB / 0.6593 GB, free: 15.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007819/0.3771, allocations: 0.6134 MB / 0.6599 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.3772, allocations: 134.4 kB / 0.6601 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.745e-05/0.3773, allocations: 39.94 kB / 0.6601 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000893/0.3782, allocations: 0.5533 MB / 0.6606 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009654/0.3792, allocations: 0.6133 MB / 0.6612 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3792, allocations: 0 / 0.6612 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/0.3793, allocations: 0 / 0.6612 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.3793, allocations: 15.98 kB / 0.6612 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004484/0.3838, allocations: 2.978 MB / 0.6642 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009712/0.3848, allocations: 487 kB / 0.6646 GB, free: 9.637 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005215/0.3853, allocations: 382.8 kB / 0.665 GB, free: 9.262 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.205e-05/0.3854, allocations: 8.656 kB / 0.665 GB, free: 9.254 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.3854, allocations: 39.22 kB / 0.665 GB, free: 9.207 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 1.603e-06/0.3854, allocations: 0 / 0.665 GB, free: 9.207 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.005481/0.3909, allocations: 1.981 MB / 0.667 GB, free: 7.211 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.391, allocations: 93.67 kB / 0.6671 GB, free: 7.102 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006823/0.3917, allocations: 0.6214 MB / 0.6677 GB, free: 6.477 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.524e-05/0.3917, allocations: 29.7 kB / 0.6677 GB, free: 6.441 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.3919, allocations: 256.6 kB / 0.6679 GB, free: 6.184 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.392, allocations: 224.6 kB / 0.6681 GB, free: 5.961 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.3921, allocations: 0 / 0.6681 GB, free: 5.961 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3922, allocations: 337.9 kB / 0.6685 GB, free: 5.625 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004985/0.3927, allocations: 325.6 kB / 0.6688 GB, free: 5.309 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005473/0.3933, allocations: 426.5 kB / 0.6692 GB, free: 4.863 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005396/0.3938, allocations: 363.1 kB / 0.6695 GB, free: 4.508 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3938, allocations: 4.031 kB / 0.6695 GB, free: 4.504 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006106/0.3999, allocations: 2.199 MB / 0.6717 GB, free: 2.289 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003303/0.4003, allocations: 0.7039 MB / 0.6724 GB, free: 1.531 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4003, allocations: 7.984 kB / 0.6724 GB, free: 1.523 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003607/0.4039, allocations: 0.9802 MB / 0.6733 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/0.4045, allocations: 111.8 kB / 0.6734 GB, free: 436 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1356/0.5401, allocations: 3.924 MB / 0.6773 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.5412, allocations: 124.5 kB / 0.6774 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.5413, allocations: 24.72 kB / 0.6774 GB, free: 144.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/0.5413, allocations: 3.812 kB / 0.6774 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005582/0.5469, allocations: 2.078 MB / 0.6794 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5469, allocations: 0 / 0.6794 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003338/0.5503, allocations: 0.9756 MB / 0.6804 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004896/0.5508, allocations: 106.8 kB / 0.6805 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006343/0.5571, allocations: 3.943 MB / 0.6844 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000867/0.558, allocations: 99.73 kB / 0.6844 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.416e-05/0.5581, allocations: 25.34 kB / 0.6845 GB, free: 143.2 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.0001628/0.5583, allocations: 116.7 kB / 0.6846 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.5584, allocations: 90.69 kB / 0.6847 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004951/0.5634, allocations: 2.049 MB / 0.6867 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.5634, allocations: 9.875 kB / 0.6867 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5634, allocations: 3.938 kB / 0.6867 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.5634, allocations: 4.5 kB / 0.6867 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006191/0.5696, allocations: 3.209 MB / 0.6898 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.5696, allocations: 2.812 kB / 0.6898 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005314/0.5702, allocations: 85.62 kB / 0.6899 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002553/0.5727, allocations: 0.8747 MB / 0.6908 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.489e-05/0.5728, allocations: 7.812 kB / 0.6908 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00483/0.5776, allocations: 3.117 MB / 0.6938 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5776, allocations: 0 / 0.6938 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005763/0.5834, allocations: 2.624 MB / 0.6964 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.5836, allocations: 178.3 kB / 0.6965 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.5838, allocations: 5.781 kB / 0.6966 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008297/0.5846, allocations: 79.22 kB / 0.6966 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.5848, allocations: 65.27 kB / 0.6967 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.919e-05/0.5849, allocations: 15.62 kB / 0.6967 GB, free: 140.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005506/0.5854, allocations: 491.8 kB / 0.6972 GB, free: 140.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0012/0.5866, allocations: 432.8 kB / 0.6976 GB, free: 140.4 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.0002227/0.5869, allocations: 138.4 kB / 0.6977 GB, free: 140.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005959/0.5928, allocations: 2.684 MB / 0.7003 GB, free: 139.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5928, allocations: 3.625 kB / 0.7003 GB, free: 139.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002357/0.5952, allocations: 1.088 MB / 0.7014 GB, free: 139.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.5956, allocations: 56.47 kB / 0.7015 GB, free: 139.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/0.599, allocations: 1.529 MB / 0.703 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005901/0.5996, allocations: 1.042 MB / 0.704 GB, free: 138 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5997, allocations: 0 / 0.704 GB, free: 138 MB / 490.7 MB Notification: Performance of Templates: time 0.02475/0.6244, allocations: 20.25 MB / 0.7237 GB, free: 137.2 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile (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 & ./OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)