Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001524/0.001524, allocations: 165.6 kB / 7.639 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.257/1.257, 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.0008027/0.0008028, allocations: 93.69 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06545/0.06545, allocations: 12.6 MB / 321.9 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2827/0.2827, allocations: 78.06 MB / 450.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.425e-05/1.427e-05, allocations: 4 kB / 0.5147 GB, free: 29.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09928/0.09931, allocations: 69.34 MB / 0.5824 GB, free: 8.387 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3429/0.4423, allocations: 101.6 MB / 0.6816 GB, free: 6.418 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001875/0.4425, allocations: 81.23 kB / 0.6817 GB, free: 6.375 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1733/0.6159, allocations: 67.41 MB / 0.7475 GB, free: 13.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.6159, allocations: 0 / 0.7475 GB, free: 13.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002112/0.6161, allocations: 56.94 kB / 0.7476 GB, free: 13.72 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01226/0.6284, allocations: 4.045 MB / 0.7515 GB, free: 9.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.6284, allocations: 8.031 kB / 0.7515 GB, free: 9.582 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009926/0.6384, allocations: 1.6 MB / 0.7531 GB, free: 7.977 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003503/0.6419, allocations: 1.658 MB / 0.7547 GB, free: 6.254 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007063/0.6426, allocations: 0.6744 MB / 0.7554 GB, free: 5.465 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005491/0.6432, allocations: 127.9 kB / 0.7555 GB, free: 5.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004372/0.6476, allocations: 2.222 MB / 0.7577 GB, free: 3.109 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004386/0.652, allocations: 2.282 MB / 0.7599 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/0.652, allocations: 4 kB / 0.7599 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002422/0.6523, allocations: 11.92 kB / 0.7599 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/0.6523, allocations: 51.94 kB / 0.76 GB, free: 0.6914 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01766/0.67, allocations: 9.631 MB / 0.7694 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009564/0.6795, allocations: 4.114 MB / 0.7734 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002228/0.6818, allocations: 1.473 MB / 0.7748 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002945/0.6821, allocations: 45.95 kB / 0.7749 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002883/0.685, allocations: 1.732 MB / 0.7766 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=249): time 4.96e-06/0.685, allocations: 0 / 0.7766 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=249): time 0.03803/0.7231, allocations: 12.33 MB / 0.7886 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.364e-05/0.7232, allocations: 184.2 kB / 0.7888 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/0.7259, allocations: 1.729 MB / 0.7905 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004531/0.7263, allocations: 29.7 kB / 0.7905 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008717/0.7272, allocations: 1.211 MB / 0.7917 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008906/0.7281, allocations: 0.8235 MB / 0.7925 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.7283, allocations: 4.062 kB / 0.7925 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.7285, allocations: 403 kB / 0.7929 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/0.7305, allocations: 1.22 MB / 0.7941 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/0.7327, allocations: 1.507 MB / 0.7955 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002132/0.7349, allocations: 1.34 MB / 0.7968 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.934e-06/0.7349, allocations: 0 / 0.7968 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=318) (initialization): time 0.03691/0.7718, allocations: 12.31 MB / 0.8089 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.85e-05/0.7719, allocations: 122.8 kB / 0.809 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.772, allocations: 4 kB / 0.809 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01621/0.7882, allocations: 4.993 MB / 0.8139 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/0.7906, allocations: 439.4 kB / 0.8143 GB, free: 8.184 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0382/0.8288, allocations: 17.54 MB / 0.8314 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004041/0.8329, allocations: 497.7 kB / 0.8319 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003115/0.8332, allocations: 91.98 kB / 0.832 GB, free: 5.918 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0006148/0.8339, allocations: 215 kB / 0.8322 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005853/0.8344, allocations: 308.2 kB / 0.8325 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03787/0.8723, allocations: 12.63 MB / 0.8448 GB, free: 8.672 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-05/0.8724, allocations: 24 kB / 0.8448 GB, free: 8.648 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/0.8724, allocations: 20 kB / 0.8448 GB, free: 8.629 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-05/0.8725, allocations: 15.95 kB / 0.8449 GB, free: 8.613 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or 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.2744/1.147, allocations: 15.96 MB / 0.8605 GB, free: 143.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/1.147, allocations: 2.891 kB / 0.8605 GB, free: 143.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/1.149, allocations: 247.8 kB / 0.8607 GB, free: 143.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01488/1.163, allocations: 4.999 MB / 0.8656 GB, free: 143.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004951/1.164, allocations: 17.47 kB / 0.8656 GB, free: 143.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0352/1.199, allocations: 18.97 MB / 0.8841 GB, free: 139.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.199, allocations: 3.953 kB / 0.8841 GB, free: 139.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03691/1.236, allocations: 14.63 MB / 0.8984 GB, free: 139.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008275/1.237, allocations: 414.6 kB / 0.8988 GB, free: 138.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000537/1.238, allocations: 6.969 kB / 0.8988 GB, free: 138.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003028/1.241, allocations: 371.8 kB / 0.8992 GB, free: 138.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001896/1.243, allocations: 0.5752 MB / 0.8997 GB, free: 138.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002245/1.243, allocations: 69.27 kB / 0.8998 GB, free: 138.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001606/1.244, allocations: 1.293 MB / 0.901 GB, free: 138.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.244, allocations: 2.625 kB / 0.901 GB, free: 138.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002992/1.247, allocations: 1.005 MB / 0.902 GB, free: 138.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000402/1.248, allocations: 155.3 kB / 0.9022 GB, free: 138.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01272/1.26, allocations: 5.599 MB / 0.9076 GB, free: 137.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.261, allocations: 1.75 kB / 0.9076 GB, free: 137.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0109/1.271, allocations: 4.308 MB / 0.9119 GB, free: 135.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/1.273, allocations: 185.7 kB / 0.912 GB, free: 135.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006333/1.279, allocations: 4.081 MB / 0.916 GB, free: 133.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009437/1.28, allocations: 1.873 MB / 0.9178 GB, free: 133.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008816/1.281, allocations: 213.2 kB / 0.918 GB, free: 133.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000491/1.282, allocations: 139.6 kB / 0.9182 GB, free: 133 MB / 0.573 GB Notification: Performance of SimCode: time 7.11e-07/1.282, allocations: 0 / 0.9182 GB, free: 133 MB / 0.573 GB Notification: Performance of Templates: time 0.06124/1.343, allocations: 51.34 MB / 0.9683 GB, free: 101.7 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)