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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001513, allocations: 169.2 kB / 7.64 MB, free: 1.414 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.747/1.747, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.001/0.001001, allocations: 90.56 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05743/0.05743, allocations: 14.02 MB / 323.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.934e-05/1.949e-05, allocations: 4 kB / 381.9 MB, free: 72.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09916/0.0992, allocations: 51.12 MB / 433 MB, free: 21.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3373/0.4366, allocations: 75.88 MB / 0.4969 GB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001883/0.4368, allocations: 69.3 kB / 0.497 GB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001277/0.4381, allocations: 0.5375 MB / 0.4975 GB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4381, allocations: 0.5625 kB / 0.4975 GB, free: 11.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.4381, allocations: 0.9062 kB / 0.4975 GB, free: 11.98 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.0002274/0.4384, allocations: 340.9 kB / 0.4978 GB, free: 11.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.4384, allocations: 8.594 kB / 0.4979 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.4384, allocations: 0 / 0.4979 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.55e-05/0.4385, allocations: 164 kB / 0.498 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.4385, allocations: 3.969 kB / 0.498 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.4386, allocations: 0 / 0.498 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.845e-05/0.4386, allocations: 19.11 kB / 0.498 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.311e-05/0.4387, allocations: 41.44 kB / 0.4981 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.4387, allocations: 0 / 0.4981 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.4387, allocations: 3.844 kB / 0.4981 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.4387, allocations: 0 / 0.4981 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002458/0.439, allocations: 217.3 kB / 0.4983 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.175e-05/0.439, allocations: 29.22 kB / 0.4983 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.096e-05/0.4391, allocations: 22.08 kB / 0.4983 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.4391, allocations: 0 / 0.4983 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.4391, allocations: 36.75 kB / 0.4984 GB, free: 11.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.4391, allocations: 3.984 kB / 0.4984 GB, free: 11.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001428/0.4393, allocations: 45.92 kB / 0.4984 GB, free: 11.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.4393, allocations: 77.11 kB / 0.4985 GB, free: 10.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.931e-05/0.4393, allocations: 86.41 kB / 0.4986 GB, free: 10.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.4394, allocations: 37.52 kB / 0.4986 GB, free: 10.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.144e-05/0.4394, allocations: 80.14 kB / 0.4987 GB, free: 10.72 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.4394, allocations: 6.969 kB / 0.4987 GB, free: 10.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-06/0.4394, allocations: 0 / 0.4987 GB, free: 10.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.134e-05/0.4395, allocations: 315.6 kB / 0.499 GB, free: 10.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.4395, allocations: 6.469 kB / 0.499 GB, free: 10.4 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.21e-05/0.4395, allocations: 9.875 kB / 0.499 GB, free: 10.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.03e-05/0.4395, allocations: 9.641 kB / 0.499 GB, free: 10.4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4395, allocations: 4.062 kB / 0.499 GB, free: 10.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.312e-05/0.4396, allocations: 50.33 kB / 0.4991 GB, free: 10.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.4396, allocations: 33.47 kB / 0.4991 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4397, allocations: 2.156 kB / 0.4991 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4397, allocations: 3.656 kB / 0.4991 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.991e-05/0.4397, allocations: 0 / 0.4991 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.778e-06/0.4397, allocations: 0 / 0.4991 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.464e-05/0.4398, allocations: 7.656 kB / 0.4991 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.4398, allocations: 2.484 kB / 0.4991 GB, free: 10.32 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 6.171e-05/0.4399, allocations: 138.1 kB / 0.4992 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.4399, allocations: 0 / 0.4992 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.862e-05/0.4399, allocations: 11.66 kB / 0.4993 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.4399, allocations: 3.719 kB / 0.4993 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4399, allocations: 2.203 kB / 0.4993 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.4399, allocations: 0 / 0.4993 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.308e-05/0.44, allocations: 130.3 kB / 0.4994 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.44, allocations: 3.969 kB / 0.4994 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-06/0.4401, allocations: 0 / 0.4994 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.4401, allocations: 0 / 0.4994 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.4401, allocations: 4 kB / 0.4994 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4401, allocations: 0.875 kB / 0.4994 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4401, allocations: 10.33 kB / 0.4994 GB, free: 10 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.491e-05/0.4402, allocations: 143.4 kB / 0.4995 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.4402, allocations: 77.11 kB / 0.4996 GB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.4402, allocations: 0 / 0.4996 GB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.4403, allocations: 6.422 kB / 0.4996 GB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.4404, allocations: 6.844 kB / 0.4996 GB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.4404, allocations: 7.953 kB / 0.4996 GB, free: 9.766 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.554e-05/0.4404, allocations: 79.22 kB / 0.4997 GB, free: 9.688 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4404, allocations: 0 / 0.4997 GB, free: 9.688 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002281/0.4406, allocations: 13.23 kB / 0.4997 GB, free: 9.688 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 9.691e-05/0.4407, allocations: 98.53 kB / 0.4998 GB, free: 9.602 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.4409, allocations: 71.95 kB / 0.4999 GB, free: 9.539 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.4409, allocations: 0 / 0.4999 GB, free: 9.539 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.4409, allocations: 77.56 kB / 0.5 GB, free: 9.469 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.441, allocations: 0 / 0.5 GB, free: 9.469 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001995/0.4412, allocations: 60.7 kB / 0.5 GB, free: 9.406 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.4414, allocations: 0.6752 MB / 0.5007 GB, free: 8.711 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.054e-05/0.4414, allocations: 3.938 kB / 0.5007 GB, free: 8.707 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.848e-06/0.4414, allocations: 7.438 kB / 0.5007 GB, free: 8.699 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4414, allocations: 0 / 0.5007 GB, free: 8.699 MB / 330.7 MB Notification: Performance of Templates: time 0.002096/0.4435, allocations: 493 kB / 0.5012 GB, free: 8.617 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)