Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.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/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [: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.001776/0.001776, allocations: 178 kB / 7.454 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.097/1.097, allocations: 205.2 MB / 213.1 MB, free: 13.84 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.0008369/0.000837, allocations: 93.58 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05329/0.05329, allocations: 14 MB / 323 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.623e-06/6.733e-06, allocations: 0 / 381.3 MB, free: 73.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06933/0.06935, allocations: 51.09 MB / 432.4 MB, free: 22.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2264/0.2958, allocations: 75.82 MB / 0.4963 GB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001735/0.296, allocations: 62.8 kB / 0.4964 GB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.001077/0.2971, allocations: 225.2 kB / 0.4966 GB, free: 11.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.2971, allocations: 0 / 0.4966 GB, free: 11.95 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001695/0.2973, allocations: 342.8 kB / 0.4969 GB, free: 11.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.2973, allocations: 11.53 kB / 0.4969 GB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.2973, allocations: 0.5625 kB / 0.4969 GB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.225e-05/0.2974, allocations: 168.1 kB / 0.4971 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.2974, allocations: 0 / 0.4971 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.2974, allocations: 8.781 kB / 0.4971 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.828e-05/0.2975, allocations: 8.625 kB / 0.4971 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.22e-05/0.2976, allocations: 42.56 kB / 0.4971 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2976, allocations: 0 / 0.4971 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.2976, allocations: 0.6562 kB / 0.4971 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.2976, allocations: 4 kB / 0.4971 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.2978, allocations: 233.2 kB / 0.4974 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.547e-05/0.2978, allocations: 26.05 kB / 0.4974 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.864e-05/0.2979, allocations: 16.64 kB / 0.4974 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.066e-06/0.2979, allocations: 0 / 0.4974 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.2979, allocations: 36.33 kB / 0.4974 GB, free: 11.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.2979, allocations: 0 / 0.4974 GB, free: 11.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.00013/0.2981, allocations: 46.41 kB / 0.4975 GB, free: 10.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.2981, allocations: 78.56 kB / 0.4976 GB, free: 10.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.268e-05/0.2981, allocations: 85 kB / 0.4976 GB, free: 10.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.2981, allocations: 25.7 kB / 0.4977 GB, free: 10.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.722e-05/0.2981, allocations: 81.53 kB / 0.4977 GB, free: 10.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.2982, allocations: 13.47 kB / 0.4977 GB, free: 10.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.2982, allocations: 32 / 0.4977 GB, free: 10.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.154e-05/0.2982, allocations: 323.2 kB / 0.4981 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.2982, allocations: 6.438 kB / 0.4981 GB, free: 10.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.488e-05/0.2983, allocations: 6.906 kB / 0.4981 GB, free: 10.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.206e-05/0.2983, allocations: 7 kB / 0.4981 GB, free: 10.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.2983, allocations: 0 / 0.4981 GB, free: 10.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.388e-05/0.2984, allocations: 43.92 kB / 0.4981 GB, free: 10.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/0.2984, allocations: 8.266 kB / 0.4981 GB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2984, allocations: 2.188 kB / 0.4981 GB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.2984, allocations: 4.094 kB / 0.4981 GB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.094e-05/0.2984, allocations: 0.6562 kB / 0.4981 GB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.2984, allocations: 0 / 0.4981 GB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.795e-05/0.2985, allocations: 5.297 kB / 0.4981 GB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.2985, allocations: 0.75 kB / 0.4981 GB, free: 10.33 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.98e-05/0.2986, allocations: 138.1 kB / 0.4983 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.2986, allocations: 0.5625 kB / 0.4983 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.617e-05/0.2986, allocations: 8.406 kB / 0.4983 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2986, allocations: 3.906 kB / 0.4983 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2986, allocations: 7.938 kB / 0.4983 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2986, allocations: 0.7969 kB / 0.4983 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.903e-05/0.2987, allocations: 132.1 kB / 0.4984 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.2987, allocations: 7.875 kB / 0.4984 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.747e-06/0.2987, allocations: 0 / 0.4984 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2988, allocations: 0.5625 kB / 0.4984 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.2988, allocations: 0.75 kB / 0.4984 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2988, allocations: 3.938 kB / 0.4984 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2988, allocations: 7.781 kB / 0.4984 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.615e-05/0.2989, allocations: 145.7 kB / 0.4986 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.2989, allocations: 81.91 kB / 0.4987 GB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.2989, allocations: 0.5625 kB / 0.4987 GB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.299, allocations: 1.266 kB / 0.4987 GB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.299, allocations: 6.578 kB / 0.4987 GB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.2991, allocations: 0.5156 kB / 0.4987 GB, free: 9.777 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.179e-05/0.2991, allocations: 75.28 kB / 0.4987 GB, free: 9.703 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002288/0.2993, allocations: 8.25 kB / 0.4987 GB, free: 9.703 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.96e-05/0.2994, allocations: 100.4 kB / 0.4988 GB, free: 9.613 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.149e-05/0.2995, allocations: 52.3 kB / 0.4989 GB, free: 9.578 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.2995, allocations: 0 / 0.4989 GB, free: 9.578 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.326e-05/0.2995, allocations: 39.3 kB / 0.4989 GB, free: 9.547 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.2996, allocations: 10.5 kB / 0.4989 GB, free: 9.543 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001332/0.2998, allocations: 56.53 kB / 0.499 GB, free: 9.484 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.389e-05/0.2999, allocations: 0.6867 MB / 0.4997 GB, free: 8.777 MB / 330.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2999, allocations: 0 / 0.4997 GB, free: 8.777 MB / 330.7 MB Notification: Performance of Templates: time 0.001732/0.3016, allocations: 499.1 kB / 0.5001 GB, free: 8.688 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1)