Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.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.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008926/0.0008925, allocations: 173 kB / 16.07 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.211/1.211, allocations: 222.9 MB / 239.7 MB, free: 10.2 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007414/0.0007414, allocations: 92.11 kB / 290.5 MB, free: 11.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.405/0.405, allocations: 78.41 MB / 419.6 MB, free: 9.805 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 12 kB / 499.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2437, allocations: 68.75 MB / 0.5545 GB, free: 20.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.008773/0.2525, allocations: 14.46 MB / 0.5686 GB, free: 5.699 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006001/0.2585, allocations: 3.608 MB / 0.5722 GB, free: 2.082 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/0.2608, allocations: 32 kB / 0.5722 GB, free: 2.051 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.2623, allocations: 445.1 kB / 0.5726 GB, free: 1.613 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003936/0.2662, allocations: 1.225 MB / 0.5738 GB, free: 396 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4_1.xq <> order4_1.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.003303/0.2695, allocations: 1.41 MB / 0.5752 GB, free: 15 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004603/0.2741, allocations: 3.526 MB / 0.5786 GB, free: 11.46 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.2753, allocations: 0.7885 MB / 0.5794 GB, free: 10.62 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.2772, allocations: 1.329 MB / 0.5807 GB, free: 9.281 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001862/0.2791, allocations: 1.773 MB / 0.5824 GB, free: 7.5 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003481/0.2795, allocations: 140 kB / 0.5826 GB, free: 7.363 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006928/0.2802, allocations: 271.9 kB / 0.5828 GB, free: 7.098 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004818/0.2807, allocations: 0.61 MB / 0.5834 GB, free: 6.484 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.2819, allocations: 1.463 MB / 0.5848 GB, free: 5.012 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002505/0.2844, allocations: 2.948 MB / 0.5877 GB, free: 2.055 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2844, allocations: 0 / 0.5877 GB, free: 2.055 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2844, allocations: 3.938 kB / 0.5877 GB, free: 2.051 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.524e-05/0.2845, allocations: 0 / 0.5877 GB, free: 2.051 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01968/0.3041, allocations: 5.933 MB / 0.5935 GB, free: 12.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3042, allocations: 8.031 kB / 0.5935 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01433/0.3185, allocations: 2.271 MB / 0.5957 GB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00376/0.3223, allocations: 1.878 MB / 0.5976 GB, free: 7.793 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006903/0.3231, allocations: 0.7252 MB / 0.5983 GB, free: 6.953 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005325/0.3236, allocations: 219.8 kB / 0.5985 GB, free: 6.738 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006345/0.33, allocations: 3.035 MB / 0.6015 GB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/0.33, allocations: 0 / 0.6015 GB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002444/0.3303, allocations: 83.94 kB / 0.6015 GB, free: 3.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/0.3303, allocations: 55.94 kB / 0.6016 GB, free: 3.488 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006265/0.3366, allocations: 2.784 MB / 0.6043 GB, free: 0.6875 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01844/0.3551, allocations: 9.879 MB / 0.614 GB, free: 6.387 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.3654, allocations: 4.197 MB / 0.6181 GB, free: 2.059 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004135/0.3696, allocations: 1.969 MB / 0.62 GB, free: 84 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003379/0.3699, allocations: 41.95 kB / 0.62 GB, free: 44 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00455/0.3745, allocations: 2.232 MB / 0.6222 GB, free: 13.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=248): time 4.579e-06/0.3745, allocations: 0 / 0.6222 GB, free: 13.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=248): time 0.1093/0.4839, allocations: 27.3 MB / 0.6489 GB, free: 2.359 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.484, allocations: 184.2 kB / 0.649 GB, free: 2.141 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003368/0.4874, allocations: 2.269 MB / 0.6513 GB, free: 15.85 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000569/0.488, allocations: 73.7 kB / 0.6513 GB, free: 15.77 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008732/0.4889, allocations: 1.16 MB / 0.6525 GB, free: 14.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001156/0.49, allocations: 0.8665 MB / 0.6533 GB, free: 13.72 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004422/0.4905, allocations: 292.5 kB / 0.6536 GB, free: 13.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.4906, allocations: 305.1 kB / 0.6539 GB, free: 13.13 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004183/0.4948, allocations: 1.951 MB / 0.6558 GB, free: 11.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004554/0.4994, allocations: 2.334 MB / 0.6581 GB, free: 8.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05289/0.5523, allocations: 14.03 MB / 0.6718 GB, free: 10.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.5523, allocations: 3.938 kB / 0.6718 GB, free: 10.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=417) (initialization): time 0.2519/0.8042, allocations: 12.5 MB / 0.684 GB, free: 105.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.686e-05/0.8043, allocations: 116.2 kB / 0.6841 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.8043, allocations: 11.7 kB / 0.6841 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01816/0.8225, allocations: 5.29 MB / 0.6893 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/0.8253, allocations: 0.5681 MB / 0.6898 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04703/0.8724, allocations: 21.32 MB / 0.7106 GB, free: 97.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003766/0.8762, allocations: 488.8 kB / 0.7111 GB, free: 97.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003323/0.8765, allocations: 122 kB / 0.7112 GB, free: 97.23 MB / 490.7 MB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 325 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001078/0.8776, allocations: 0.5246 MB / 0.7117 GB, free: 96.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004681/0.8781, allocations: 292 kB / 0.712 GB, free: 96.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03523/0.9133, allocations: 11.91 MB / 0.7236 GB, free: 87.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-05/0.9134, allocations: 31.94 kB / 0.7237 GB, free: 87.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.588e-05/0.9134, allocations: 16 kB / 0.7237 GB, free: 87.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-05/0.9135, allocations: 11.95 kB / 0.7237 GB, free: 87.58 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03694/0.9504, allocations: 15.5 MB / 0.7388 GB, free: 72.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/0.9505, allocations: 0 / 0.7388 GB, free: 72.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.9518, allocations: 247.6 kB / 0.7391 GB, free: 71.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01509/0.9669, allocations: 5.26 MB / 0.7442 GB, free: 66.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004671/0.9674, allocations: 55.98 kB / 0.7443 GB, free: 66.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04573/1.013, allocations: 22.68 MB / 0.7664 GB, free: 43.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.013, allocations: 128 / 0.7664 GB, free: 43.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03938/1.053, allocations: 14.28 MB / 0.7804 GB, free: 29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007795/1.053, allocations: 406.1 kB / 0.7807 GB, free: 28.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005679/1.054, allocations: 47.94 kB / 0.7808 GB, free: 28.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002705/1.057, allocations: 299.6 kB / 0.7811 GB, free: 28.26 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001853/1.059, allocations: 0.5661 MB / 0.7816 GB, free: 27.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001965/1.059, allocations: 63.98 kB / 0.7817 GB, free: 27.63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001786/1.061, allocations: 1.507 MB / 0.7832 GB, free: 26.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.061, allocations: 0 / 0.7832 GB, free: 26.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002987/1.064, allocations: 1.173 MB / 0.7843 GB, free: 24.95 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(65,23,7.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003837/1.064, allocations: 170.2 kB / 0.7845 GB, free: 24.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01555/1.08, allocations: 6.617 MB / 0.7909 GB, free: 18.08 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/1.08, allocations: 0 / 0.7909 GB, free: 18.08 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01168/1.091, allocations: 4.379 MB / 0.7952 GB, free: 13.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/1.094, allocations: 268.8 kB / 0.7955 GB, free: 13.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/1.106, allocations: 6.501 MB / 0.8018 GB, free: 6.855 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001455/1.107, allocations: 1.806 MB / 0.8036 GB, free: 5.016 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/1.109, allocations: 183.4 kB / 0.8037 GB, free: 4.836 MB / 490.7 MB Notification: Performance of SimCode: time 8.92e-07/1.109, allocations: 0 / 0.8037 GB, free: 4.836 MB / 490.7 MB Notification: Performance of Templates: time 0.0836/1.192, allocations: 63.42 MB / 0.8657 GB, free: 5.379 MB / 0.5417 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)