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.001765/0.001772, allocations: 182.4 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.1 MB / 221.8 MB, free: 8.477 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.001026/0.001026, allocations: 102.3 kB / 269.2 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05989/0.05989, allocations: 14.17 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 67.84 kB / 393.7 MB, free: 62.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07114/0.07288, allocations: 50.14 MB / 443.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001603/0.07452, allocations: 0.7627 MB / 444.6 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001573/0.07469, allocations: 29.66 kB / 444.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.598e-05/0.07472, allocations: 0 / 444.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.208e-05/0.07475, allocations: 8 kB / 444.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.446e-05/0.07479, allocations: 0 / 444.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001144/0.07491, allocations: 7.984 kB / 444.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.528e-05/0.07497, allocations: 15.98 kB / 444.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.22e-05/0.07505, allocations: 7.984 kB / 444.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.892e-05/0.07507, allocations: 4 kB / 444.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.258e-05/0.07512, allocations: 4 kB / 444.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.07513, allocations: 0 / 444.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-06/0.07515, allocations: 0 / 444.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.07516, allocations: 11.88 kB / 444.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.0752, allocations: 7.984 kB / 444.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.964e-05/0.07526, allocations: 11.98 kB / 444.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.07527, allocations: 0 / 444.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.07527, allocations: 0 / 444.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.07528, allocations: 0 / 444.7 MB, free: 11.77 MB / 298.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.0002361/0.07552, allocations: 349.5 kB / 445 MB, free: 11.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.07556, allocations: 8.031 kB / 445.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.0756, allocations: 4.938 kB / 445.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.952e-05/0.07565, allocations: 168.3 kB / 445.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.07567, allocations: 384 / 445.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.07568, allocations: 12.38 kB / 445.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.055e-05/0.07578, allocations: 46.19 kB / 445.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.07579, allocations: 192 / 445.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.0758, allocations: 3.938 kB / 445.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.07581, allocations: 0 / 445.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.806e-05/0.07584, allocations: 11.94 kB / 445.3 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.07616, allocations: 245 kB / 445.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.152e-05/0.07621, allocations: 30.52 kB / 445.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.959e-05/0.07625, allocations: 20.91 kB / 445.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.07627, allocations: 0 / 445.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.215e-05/0.07628, allocations: 34.56 kB / 445.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.07629, allocations: 0 / 445.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.000161/0.07645, allocations: 91.23 kB / 445.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.07649, allocations: 85.23 kB / 445.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.329e-05/0.07651, allocations: 89.86 kB / 445.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.07652, allocations: 25.7 kB / 445.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.367e-05/0.07654, allocations: 84.12 kB / 446 MB, free: 10.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.07656, allocations: 3.906 kB / 446 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.07659, allocations: 21.7 kB / 446 MB, free: 10.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.728e-05/0.07663, allocations: 310.8 kB / 446.3 MB, free: 9.926 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.017e-05/0.07666, allocations: 4 kB / 446.3 MB, free: 9.922 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.494e-05/0.07668, allocations: 16 kB / 446.3 MB, free: 9.906 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.279e-05/0.07673, allocations: 80.19 kB / 446.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.07674, allocations: 0 / 446.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.206e-05/0.07682, allocations: 83.33 kB / 446.5 MB, free: 9.719 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.07685, allocations: 29.7 kB / 446.5 MB, free: 9.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.07686, allocations: 7.984 kB / 446.5 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.07688, allocations: 0 / 446.5 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.825e-05/0.07692, allocations: 0 / 446.5 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.07693, allocations: 0 / 446.5 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.07698, allocations: 12.09 kB / 446.5 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.07699, allocations: 0 / 446.5 MB, free: 9.664 MB / 298.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.792e-05/0.07705, allocations: 151.5 kB / 446.7 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.07708, allocations: 3.938 kB / 446.7 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.544e-05/0.0771, allocations: 7.078 kB / 446.7 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.07711, allocations: 4 kB / 446.7 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.07712, allocations: 0 / 446.7 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.07713, allocations: 7.875 kB / 446.7 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.07724, allocations: 161.6 kB / 446.9 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.07725, allocations: 4 kB / 446.9 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.638e-06/0.07726, allocations: 0 / 446.9 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.07727, allocations: 3.938 kB / 446.9 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.07728, allocations: 0 / 446.9 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.07728, allocations: 4 kB / 446.9 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.07729, allocations: 0 / 446.9 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.0775, allocations: 0.7257 MB / 447.6 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.07752, allocations: 81.11 kB / 447.7 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.07754, allocations: 0 / 447.7 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.07761, allocations: 3.984 kB / 447.7 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.07765, allocations: 8 kB / 447.7 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.07766, allocations: 0 / 447.7 MB, free: 8.359 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.096e-05/0.07767, allocations: 79.22 kB / 447.8 MB, free: 8.281 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.07768, allocations: 0 / 447.8 MB, free: 8.281 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000305/0.07799, allocations: 8 kB / 447.8 MB, free: 8.273 MB / 298.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.819e-05/0.07806, allocations: 99.25 kB / 447.9 MB, free: 8.168 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.176e-05/0.07816, allocations: 79.39 kB / 448 MB, free: 8.078 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.07817, allocations: 0 / 448 MB, free: 8.078 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.457e-05/0.07821, allocations: 71.33 kB / 448 MB, free: 7.996 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.0784, allocations: 4 kB / 448 MB, free: 7.992 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.07864, allocations: 201.3 kB / 448.2 MB, free: 7.754 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.698e-05/0.07875, allocations: 0.6772 MB / 448.9 MB, free: 7.051 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.342e-05/0.07877, allocations: 3.984 kB / 448.9 MB, free: 7.047 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.282e-05/0.07879, allocations: 7.438 kB / 448.9 MB, free: 7.039 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.07879, allocations: 0 / 448.9 MB, free: 7.039 MB / 298.7 MB Notification: Performance of Templates: time 0.001852/0.08065, allocations: 0.5124 MB / 449.4 MB, free: 6.531 MB / 298.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)