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-master/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-master/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: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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 3.2.3+maint.om/package.mo): time 0.002939/0.002939, allocations: 182 kB / 7.455 MB, free: 2.508 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.11/1.11, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.0008732/0.0008732, allocations: 97.72 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06312/0.06312, allocations: 12.58 MB / 321.6 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2797/0.2797, allocations: 78.05 MB / 450.4 MB, free: 3.219 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.081e-06/6.101e-06, allocations: 0 / 0.5141 GB, free: 29.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1074, allocations: 69.32 MB / 0.5818 GB, free: 8.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3134/0.4209, allocations: 99.62 MB / 0.6791 GB, free: 8.633 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.4211, allocations: 77.14 kB / 0.6792 GB, free: 8.594 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.05479/0.4759, allocations: 20.95 MB / 0.6996 GB, free: 7.316 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.151e-05/0.476, allocations: 20 kB / 0.6997 GB, free: 7.297 MB / 442.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.003619/0.4797, allocations: 1.307 MB / 0.7009 GB, free: 6.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.4797, allocations: 11.97 kB / 0.7009 GB, free: 6.008 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002639/0.4824, allocations: 408.2 kB / 0.7013 GB, free: 5.641 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.4838, allocations: 0.6081 MB / 0.7019 GB, free: 5.133 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.484, allocations: 138.3 kB / 0.7021 GB, free: 4.977 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.4842, allocations: 35.94 kB / 0.7021 GB, free: 4.941 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001122/0.4853, allocations: 0.5544 MB / 0.7026 GB, free: 4.621 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.4865, allocations: 0.6155 MB / 0.7032 GB, free: 4.191 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.4865, allocations: 0 / 0.7032 GB, free: 4.191 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-05/0.4866, allocations: 0 / 0.7032 GB, free: 4.191 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.4866, allocations: 12 kB / 0.7032 GB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005443/0.4921, allocations: 2.965 MB / 0.7061 GB, free: 1.867 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.4931, allocations: 483.5 kB / 0.7066 GB, free: 1.566 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000577/0.4937, allocations: 387.8 kB / 0.707 GB, free: 1.363 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.872e-05/0.4938, allocations: 12.64 kB / 0.707 GB, free: 1.352 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.4939, allocations: 38.53 kB / 0.707 GB, free: 1.309 MB / 442.7 MB Notification: Performance of pre-optimization done (n=64): time 3.116e-06/0.4939, allocations: 4 kB / 0.707 GB, free: 1.305 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.006072/0.5, allocations: 1.984 MB / 0.709 GB, free: 15.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.5, allocations: 85.77 kB / 0.709 GB, free: 15.56 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.5011, allocations: 0.6296 MB / 0.7097 GB, free: 15.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.5012, allocations: 29.7 kB / 0.7097 GB, free: 15.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.5014, allocations: 257.2 kB / 0.7099 GB, free: 14.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.5017, allocations: 227.5 kB / 0.7101 GB, free: 14.65 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.5018, allocations: 0 / 0.7101 GB, free: 14.65 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.5019, allocations: 331.6 kB / 0.7105 GB, free: 14.33 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005533/0.5025, allocations: 332.9 kB / 0.7108 GB, free: 14.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006133/0.5031, allocations: 416.6 kB / 0.7112 GB, free: 13.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006137/0.5037, allocations: 368.5 kB / 0.7115 GB, free: 13.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.5037, allocations: 0 / 0.7115 GB, free: 13.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006611/0.5103, allocations: 2.201 MB / 0.7137 GB, free: 11.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002345/0.5106, allocations: 0.707 MB / 0.7144 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.5106, allocations: 4 kB / 0.7144 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003919/0.5145, allocations: 0.9845 MB / 0.7153 GB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000716/0.5153, allocations: 111.5 kB / 0.7154 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007815/0.5231, allocations: 3.933 MB / 0.7193 GB, free: 7.129 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.5244, allocations: 115.4 kB / 0.7194 GB, free: 7.016 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.5246, allocations: 19.75 kB / 0.7194 GB, free: 7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.844e-06/0.5246, allocations: 4 kB / 0.7194 GB, free: 6.996 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006494/0.5311, allocations: 2.082 MB / 0.7215 GB, free: 5.309 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5311, allocations: 4 kB / 0.7215 GB, free: 5.305 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003913/0.5351, allocations: 0.9718 MB / 0.7224 GB, free: 4.465 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/0.5358, allocations: 103.1 kB / 0.7225 GB, free: 4.367 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007795/0.5436, allocations: 3.946 MB / 0.7264 GB, free: 1.301 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.5448, allocations: 103.5 kB / 0.7265 GB, free: 1.199 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.5449, allocations: 23.5 kB / 0.7265 GB, free: 1.184 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.0002456/0.5452, allocations: 112.9 kB / 0.7266 GB, free: 1.066 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/0.5455, allocations: 86.88 kB / 0.7267 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005921/0.5514, allocations: 2.055 MB / 0.7287 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.5514, allocations: 8 kB / 0.7287 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.5514, allocations: 8 kB / 0.7287 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.5515, allocations: 3.984 kB / 0.7287 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007924/0.5594, allocations: 3.222 MB / 0.7318 GB, free: 12.76 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.5594, allocations: 0 / 0.7318 GB, free: 12.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007057/0.5601, allocations: 79.89 kB / 0.7319 GB, free: 12.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003182/0.5634, allocations: 0.8801 MB / 0.7328 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000159/0.5635, allocations: 7.984 kB / 0.7328 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006688/0.5702, allocations: 3.109 MB / 0.7358 GB, free: 8.883 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.5703, allocations: 4.188 kB / 0.7358 GB, free: 8.879 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007103/0.5774, allocations: 2.629 MB / 0.7384 GB, free: 6.207 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003861/0.5778, allocations: 179.9 kB / 0.7386 GB, free: 6.012 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002642/0.5781, allocations: 11.94 kB / 0.7386 GB, free: 6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.5791, allocations: 83.83 kB / 0.7387 GB, free: 5.918 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/0.5793, allocations: 64.55 kB / 0.7387 GB, free: 5.855 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.996e-05/0.5794, allocations: 16 kB / 0.7387 GB, free: 5.84 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0008318/0.5803, allocations: 491.2 kB / 0.7392 GB, free: 5.363 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001552/0.5818, allocations: 435.4 kB / 0.7396 GB, free: 4.938 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.000333/0.5822, allocations: 127.1 kB / 0.7397 GB, free: 4.805 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007122/0.5893, allocations: 2.68 MB / 0.7424 GB, free: 2.008 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.5893, allocations: 448 / 0.7424 GB, free: 2.008 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002886/0.5922, allocations: 1.105 MB / 0.7434 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000668/0.5929, allocations: 55.23 kB / 0.7435 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004277/0.5972, allocations: 1.524 MB / 0.745 GB, free: 15.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008688/0.5981, allocations: 1.038 MB / 0.746 GB, free: 14.17 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5981, allocations: 0 / 0.746 GB, free: 14.17 MB / 490.7 MB Notification: Performance of Templates: time 0.03275/0.6308, allocations: 20.27 MB / 0.7658 GB, free: 9.902 MB / 0.4948 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)