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: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.002956/0.002956, allocations: 184.7 kB / 7.463 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.166/1.166, allocations: 221.4 MB / 229.3 MB, free: 3.027 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.0008682/0.0008682, allocations: 94.41 kB / 280.1 MB, free: 1.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4053/0.4053, allocations: 78.91 MB / 409.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.991e-06/6.021e-06, allocations: 0 / 485.4 MB, free: 3.629 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2354, allocations: 69.51 MB / 0.5419 GB, free: 20.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1019/0.3373, allocations: 98.73 MB / 0.6383 GB, free: 5.152 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.3375, allocations: 75.91 kB / 0.6383 GB, free: 5.078 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05871/0.3963, allocations: 21.77 MB / 0.6596 GB, free: 15.13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.552e-05/0.3963, allocations: 20 kB / 0.6596 GB, free: 15.11 MB / 490.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.002956/0.3993, allocations: 1.297 MB / 0.6609 GB, free: 13.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.3993, allocations: 8.031 kB / 0.6609 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/0.4017, allocations: 402.3 kB / 0.6613 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008814/0.4026, allocations: 0.6104 MB / 0.6619 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.4027, allocations: 138.3 kB / 0.662 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.4029, allocations: 39.98 kB / 0.662 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009956/0.4039, allocations: 0.5571 MB / 0.6626 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.4049, allocations: 0.6133 MB / 0.6632 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.405, allocations: 0 / 0.6632 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.507e-05/0.405, allocations: 0 / 0.6632 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.4051, allocations: 16 kB / 0.6632 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004987/0.4101, allocations: 2.964 MB / 0.6661 GB, free: 8.207 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.4111, allocations: 495 kB / 0.6666 GB, free: 7.715 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005654/0.4117, allocations: 378.8 kB / 0.6669 GB, free: 7.344 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.802e-05/0.4118, allocations: 8.641 kB / 0.6669 GB, free: 7.336 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.4118, allocations: 43.22 kB / 0.667 GB, free: 7.285 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 1.813e-06/0.4118, allocations: 3.938 kB / 0.667 GB, free: 7.281 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.006028/0.4179, allocations: 1.984 MB / 0.6689 GB, free: 5.281 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.4179, allocations: 89.67 kB / 0.669 GB, free: 5.176 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007644/0.4187, allocations: 0.6214 MB / 0.6696 GB, free: 4.551 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.043e-05/0.4188, allocations: 29.7 kB / 0.6696 GB, free: 4.516 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.4189, allocations: 256.6 kB / 0.6699 GB, free: 4.258 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.4192, allocations: 224.6 kB / 0.6701 GB, free: 4.035 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.4192, allocations: 0 / 0.6701 GB, free: 4.035 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.4193, allocations: 333.9 kB / 0.6704 GB, free: 3.703 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000589/0.4199, allocations: 329.6 kB / 0.6707 GB, free: 3.383 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006423/0.4206, allocations: 430.5 kB / 0.6711 GB, free: 2.934 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006227/0.4212, allocations: 363 kB / 0.6715 GB, free: 2.578 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.4212, allocations: 4 kB / 0.6715 GB, free: 2.574 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006796/0.428, allocations: 2.203 MB / 0.6737 GB, free: 364 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1485/0.5765, allocations: 0.6955 MB / 0.6743 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.5766, allocations: 0 / 0.6743 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003821/0.5804, allocations: 0.9868 MB / 0.6753 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.5811, allocations: 108.1 kB / 0.6754 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007026/0.5881, allocations: 3.936 MB / 0.6792 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.5892, allocations: 116.6 kB / 0.6794 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.22e-05/0.5893, allocations: 22.94 kB / 0.6794 GB, free: 143.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.312e-06/0.5893, allocations: 3.781 kB / 0.6794 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005893/0.5952, allocations: 2.08 MB / 0.6814 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.5953, allocations: 3.844 kB / 0.6814 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003606/0.5989, allocations: 0.9716 MB / 0.6824 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005504/0.5994, allocations: 107.7 kB / 0.6825 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006819/0.6063, allocations: 3.938 MB / 0.6863 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.6073, allocations: 102.1 kB / 0.6864 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/0.6074, allocations: 22.78 kB / 0.6864 GB, free: 142 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.0001993/0.6076, allocations: 129 kB / 0.6866 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.6077, allocations: 84.12 kB / 0.6866 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005403/0.6132, allocations: 2.049 MB / 0.6886 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.6132, allocations: 7.266 kB / 0.6886 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.6132, allocations: 7.156 kB / 0.6886 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.6132, allocations: 11.64 kB / 0.6887 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006754/0.62, allocations: 3.204 MB / 0.6918 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.62, allocations: 2.25 kB / 0.6918 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005769/0.6206, allocations: 85.12 kB / 0.6919 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002753/0.6233, allocations: 0.8674 MB / 0.6927 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.689e-05/0.6234, allocations: 15.7 kB / 0.6927 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005295/0.6287, allocations: 3.108 MB / 0.6958 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.6287, allocations: 1.094 kB / 0.6958 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00659/0.6353, allocations: 2.622 MB / 0.6983 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/0.6356, allocations: 182.7 kB / 0.6985 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.6358, allocations: 6.406 kB / 0.6985 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009258/0.6367, allocations: 83.78 kB / 0.6986 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.6369, allocations: 65.56 kB / 0.6987 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.446e-05/0.637, allocations: 23.89 kB / 0.6987 GB, free: 139.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006024/0.6376, allocations: 486.8 kB / 0.6991 GB, free: 139.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001351/0.639, allocations: 438.1 kB / 0.6996 GB, free: 139.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.0002824/0.6393, allocations: 139 kB / 0.6997 GB, free: 139.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006572/0.6458, allocations: 2.689 MB / 0.7023 GB, free: 138.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6459, allocations: 0 / 0.7023 GB, free: 138.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002609/0.6485, allocations: 1.09 MB / 0.7034 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006148/0.6491, allocations: 49.88 kB / 0.7034 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/0.6529, allocations: 1.522 MB / 0.7049 GB, free: 137.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006035/0.6535, allocations: 1.043 MB / 0.7059 GB, free: 136.7 MB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6535, allocations: 0 / 0.7059 GB, free: 136.7 MB / 490.7 MB Notification: Performance of Templates: time 0.02698/0.6805, allocations: 20.28 MB / 0.7257 GB, free: 135.9 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)