Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.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.Tutorial.Example_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2") translateModel(OpenIPSL.Examples.Tutorial.Example_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2") [: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.002539/0.002539, allocations: 183.4 kB / 7.461 MB, free: 2.496 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.298/1.298, allocations: 221.4 MB / 229.3 MB, free: 2.988 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.0009062/0.0009063, allocations: 105.1 kB / 280.1 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.491/0.491, allocations: 78.91 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.876e-06/8.896e-06, allocations: 4 kB / 485.4 MB, free: 3.641 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3593, allocations: 69.49 MB / 0.5419 GB, free: 20.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.5015, allocations: 101 MB / 0.6405 GB, free: 2.996 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.5018, allocations: 75.95 kB / 0.6406 GB, free: 2.922 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.08505/0.5869, allocations: 29.35 MB / 0.6693 GB, free: 5.387 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001441/0.587, allocations: 20 kB / 0.6693 GB, free: 5.367 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.004876/0.5919, allocations: 1.504 MB / 0.6707 GB, free: 3.812 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.592, allocations: 8.031 kB / 0.6707 GB, free: 3.805 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002886/0.5949, allocations: 437.9 kB / 0.6712 GB, free: 3.375 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002402/0.5973, allocations: 0.8682 MB / 0.672 GB, free: 2.453 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003783/0.5977, allocations: 219.5 kB / 0.6722 GB, free: 2.203 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000291/0.598, allocations: 51.91 kB / 0.6723 GB, free: 2.152 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001855/0.5999, allocations: 0.7524 MB / 0.673 GB, free: 1.398 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.6016, allocations: 0.7586 MB / 0.6737 GB, free: 0.625 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.6017, allocations: 3.938 kB / 0.6738 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.66e-05/0.6018, allocations: 0 / 0.6738 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.6018, allocations: 16 kB / 0.6738 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2239/0.8257, allocations: 3.672 MB / 0.6774 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.8275, allocations: 0.9308 MB / 0.6783 GB, free: 141.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006371/0.8282, allocations: 461.3 kB / 0.6787 GB, free: 141.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.766e-05/0.8283, allocations: 14.61 kB / 0.6787 GB, free: 141.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.8283, allocations: 43.75 kB / 0.6788 GB, free: 141.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 5.551e-06/0.8283, allocations: 0 / 0.6788 GB, free: 141.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.00593/0.8343, allocations: 2.187 MB / 0.6809 GB, free: 141.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.8343, allocations: 111.3 kB / 0.681 GB, free: 141.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.8354, allocations: 0.8652 MB / 0.6818 GB, free: 141.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.612e-05/0.8355, allocations: 25.7 kB / 0.6819 GB, free: 141.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.8357, allocations: 301.6 kB / 0.6822 GB, free: 141.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/0.836, allocations: 271.5 kB / 0.6824 GB, free: 141.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/0.836, allocations: 0 / 0.6824 GB, free: 141.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.07e-05/0.8361, allocations: 337.5 kB / 0.6827 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006055/0.8367, allocations: 417 kB / 0.6831 GB, free: 140.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006671/0.8374, allocations: 0.5155 MB / 0.6836 GB, free: 140.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006665/0.8381, allocations: 457.5 kB / 0.6841 GB, free: 140.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.8381, allocations: 0 / 0.6841 GB, free: 140.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006675/0.8448, allocations: 2.423 MB / 0.6864 GB, free: 140.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.8449, allocations: 0.6168 MB / 0.687 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.8449, allocations: 5.219 kB / 0.687 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004187/0.8491, allocations: 1.039 MB / 0.6881 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.8502, allocations: 167.9 kB / 0.6882 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008163/0.8584, allocations: 4.129 MB / 0.6923 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/0.8602, allocations: 162.9 kB / 0.6924 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.8604, allocations: 35.56 kB / 0.6924 GB, free: 138.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.8604, allocations: 3.906 kB / 0.6924 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00667/0.8671, allocations: 2.268 MB / 0.6947 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.8671, allocations: 3.875 kB / 0.6947 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004165/0.8713, allocations: 1.033 MB / 0.6957 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.8724, allocations: 149.4 kB / 0.6958 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008572/0.881, allocations: 4.127 MB / 0.6998 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.8828, allocations: 154.3 kB / 0.7 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/0.8831, allocations: 25.75 kB / 0.7 GB, free: 136.9 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: G1.avr.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 76 * 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: 0 * Non-linear torn systems: 1 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004088/0.8835, allocations: 122.6 kB / 0.7001 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004041/0.8839, allocations: 115.9 kB / 0.7002 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006857/0.8908, allocations: 2.255 MB / 0.7024 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.8908, allocations: 11.45 kB / 0.7025 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.147e-05/0.8909, allocations: 4.188 kB / 0.7025 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.717e-05/0.8909, allocations: 3.656 kB / 0.7025 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00985/0.9008, allocations: 3.717 MB / 0.7061 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.9008, allocations: 1.281 kB / 0.7061 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.9018, allocations: 111.7 kB / 0.7062 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003186/0.905, allocations: 0.8703 MB / 0.7071 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002115/0.9053, allocations: 19.61 kB / 0.7071 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006523/0.9118, allocations: 3.116 MB / 0.7101 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/0.9119, allocations: 1.188 kB / 0.7101 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008419/0.9203, allocations: 2.926 MB / 0.713 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006325/0.921, allocations: 224.7 kB / 0.7132 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004726/0.9215, allocations: 6.969 kB / 0.7132 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/0.9231, allocations: 122.6 kB / 0.7133 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002731/0.9234, allocations: 74.22 kB / 0.7134 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.9235, allocations: 20.81 kB / 0.7134 GB, free: 132.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001328/0.9249, allocations: 0.6636 MB / 0.7141 GB, free: 131.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002377/0.9273, allocations: 0.494 MB / 0.7145 GB, free: 131.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (G1.avr.vm,G1.avr.vr,G1.avr.vf1,G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * 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.0003672/0.9277, allocations: 148.1 kB / 0.7147 GB, free: 131.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007389/0.9351, allocations: 3.003 MB / 0.7176 GB, free: 130.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.9351, allocations: 0 / 0.7176 GB, free: 130.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002811/0.9379, allocations: 1.197 MB / 0.7188 GB, free: 129.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.939, allocations: 80.97 kB / 0.7189 GB, free: 129.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006317/0.9454, allocations: 1.968 MB / 0.7208 GB, free: 128.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/0.9466, allocations: 1.168 MB / 0.7219 GB, free: 128 MB / 490.7 MB Notification: Performance of SimCode: time 1.382e-06/0.9466, allocations: 0 / 0.7219 GB, free: 128 MB / 490.7 MB Notification: Performance of Templates: time 0.04554/0.9921, allocations: 25.84 MB / 0.7472 GB, free: 120.2 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)