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: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_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.003507/0.003507, allocations: 178.3 kB / 7.454 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.212/1.212, allocations: 221.4 MB / 229.3 MB, free: 3.074 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.0009967/0.0009967, allocations: 94.11 kB / 280.1 MB, free: 1.301 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4076/0.4076, allocations: 78.05 MB / 408.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.911e-06, allocations: 0 / 484.3 MB, free: 4.457 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2516, allocations: 69.35 MB / 0.5407 GB, free: 21.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1104/0.3621, allocations: 98.06 MB / 0.6365 GB, free: 6.785 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.3623, allocations: 67.97 kB / 0.6365 GB, free: 6.715 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06446/0.4268, allocations: 21.59 MB / 0.6576 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.442e-05/0.4269, allocations: 16 kB / 0.6576 GB, free: 0.9336 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.003597/0.4305, allocations: 1.299 MB / 0.6589 GB, free: 15.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.4305, allocations: 8.031 kB / 0.6589 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002659/0.4332, allocations: 406.3 kB / 0.6593 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.4344, allocations: 0.6056 MB / 0.6599 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.4346, allocations: 138.3 kB / 0.66 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.4347, allocations: 39.94 kB / 0.6601 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001122/0.4358, allocations: 0.5533 MB / 0.6606 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.4371, allocations: 0.6172 MB / 0.6612 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.4371, allocations: 0 / 0.6612 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.478e-05/0.4372, allocations: 0 / 0.6612 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.4372, allocations: 12 kB / 0.6612 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005648/0.4429, allocations: 2.973 MB / 0.6641 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.4441, allocations: 490.9 kB / 0.6646 GB, free: 9.547 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006197/0.4447, allocations: 378.2 kB / 0.6649 GB, free: 9.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.913e-05/0.4448, allocations: 16.64 kB / 0.665 GB, free: 9.164 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.4448, allocations: 43.14 kB / 0.665 GB, free: 9.113 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.524e-06/0.4448, allocations: 0 / 0.665 GB, free: 9.113 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.006386/0.4512, allocations: 1.992 MB / 0.6669 GB, free: 7.102 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.4513, allocations: 85.77 kB / 0.667 GB, free: 7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008474/0.4521, allocations: 0.6214 MB / 0.6676 GB, free: 6.375 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.252e-05/0.4522, allocations: 25.7 kB / 0.6677 GB, free: 6.344 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.4524, allocations: 252.6 kB / 0.6679 GB, free: 6.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/0.4526, allocations: 224.6 kB / 0.6681 GB, free: 5.867 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.4527, allocations: 0 / 0.6681 GB, free: 5.867 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4528, allocations: 337.9 kB / 0.6684 GB, free: 5.531 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005802/0.4534, allocations: 333.5 kB / 0.6688 GB, free: 5.207 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/0.454, allocations: 422.5 kB / 0.6692 GB, free: 4.766 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.4547, allocations: 367.1 kB / 0.6695 GB, free: 4.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4547, allocations: 0 / 0.6695 GB, free: 4.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.007134/0.4618, allocations: 2.203 MB / 0.6717 GB, free: 2.191 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002463/0.4621, allocations: 0.6978 MB / 0.6723 GB, free: 1.434 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4621, allocations: 0 / 0.6723 GB, free: 1.434 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004303/0.4664, allocations: 0.9796 MB / 0.6733 GB, free: 456 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006346/0.4671, allocations: 103.9 kB / 0.6734 GB, free: 352 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1487/0.6158, allocations: 3.939 MB / 0.6772 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.617, allocations: 122 kB / 0.6774 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-05/0.617, allocations: 25.22 kB / 0.6774 GB, free: 144.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/0.6171, allocations: 6.375 kB / 0.6774 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006163/0.6232, allocations: 2.075 MB / 0.6794 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.6232, allocations: 7.719 kB / 0.6794 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003753/0.627, allocations: 0.9686 MB / 0.6804 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005599/0.6276, allocations: 108.9 kB / 0.6805 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007146/0.6347, allocations: 3.94 MB / 0.6843 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000989/0.6357, allocations: 102.3 kB / 0.6844 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/0.6358, allocations: 26.42 kB / 0.6844 GB, free: 143.3 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.0002017/0.636, allocations: 113.8 kB / 0.6846 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.6362, allocations: 87.12 kB / 0.6846 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005741/0.6419, allocations: 2.052 MB / 0.6866 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.642, allocations: 5.406 kB / 0.6866 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.642, allocations: 6.625 kB / 0.6867 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.642, allocations: 3.469 kB / 0.6867 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007101/0.6491, allocations: 3.213 MB / 0.6898 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6491, allocations: 5.531 kB / 0.6898 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006077/0.6497, allocations: 83.38 kB / 0.6899 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002905/0.6526, allocations: 0.8719 MB / 0.6907 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.887e-05/0.6527, allocations: 7.5 kB / 0.6907 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005468/0.6582, allocations: 3.113 MB / 0.6938 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6582, allocations: 0 / 0.6938 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006517/0.6647, allocations: 2.623 MB / 0.6963 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.6649, allocations: 185 kB / 0.6965 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.6651, allocations: 4.75 kB / 0.6965 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009429/0.6661, allocations: 80.36 kB / 0.6966 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/0.6663, allocations: 68.02 kB / 0.6967 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-05/0.6663, allocations: 15.59 kB / 0.6967 GB, free: 140.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005697/0.6669, allocations: 493 kB / 0.6971 GB, free: 140.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001279/0.6682, allocations: 432.4 kB / 0.6976 GB, free: 140.6 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.0002334/0.6684, allocations: 143.9 kB / 0.6977 GB, free: 140.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006699/0.6751, allocations: 2.679 MB / 0.7003 GB, free: 139.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6752, allocations: 0 / 0.7003 GB, free: 139.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002646/0.6778, allocations: 1.092 MB / 0.7014 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.6783, allocations: 50.75 kB / 0.7014 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.6819, allocations: 1.528 MB / 0.7029 GB, free: 138.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006224/0.6826, allocations: 1.043 MB / 0.7039 GB, free: 138.2 MB / 490.7 MB Notification: Performance of SimCode: time 3.81e-07/0.6826, allocations: 0 / 0.7039 GB, free: 138.2 MB / 490.7 MB Notification: Performance of Templates: time 0.02649/0.7091, allocations: 20.24 MB / 0.7237 GB, free: 137.4 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile (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 & ./OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)