Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.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.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001424/0.001424, 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.284/1.284, 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.00086/0.00086, allocations: 87.59 kB / 261.4 MB, free: 13.45 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.06455/0.06455, allocations: 12.59 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.2912/0.2912, allocations: 78.05 MB / 450.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.108e-05/1.111e-05, allocations: 0 / 0.5147 GB, free: 29.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0985/0.09852, allocations: 69.32 MB / 0.5824 GB, free: 8.391 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3508/0.4493, allocations: 100.8 MB / 0.6808 GB, free: 7.242 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001688/0.4495, allocations: 78.77 kB / 0.6809 GB, free: 7.199 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1571/0.6067, allocations: 64.01 MB / 0.7434 GB, free: 2.016 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.6067, allocations: 0 / 0.7434 GB, free: 2.016 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002025/0.6069, allocations: 56 kB / 0.7434 GB, free: 1.961 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01201/0.619, allocations: 3.998 MB / 0.7473 GB, free: 13.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.619, allocations: 8.031 kB / 0.7474 GB, free: 13.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009583/0.6286, allocations: 1.596 MB / 0.7489 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/0.6317, allocations: 1.647 MB / 0.7505 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006483/0.6324, allocations: 0.6164 MB / 0.7511 GB, free: 9.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005032/0.6329, allocations: 128 kB / 0.7512 GB, free: 9.715 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004088/0.637, allocations: 2.215 MB / 0.7534 GB, free: 7.492 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004222/0.6413, allocations: 2.272 MB / 0.7556 GB, free: 5.145 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/0.6413, allocations: 0 / 0.7556 GB, free: 5.145 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/0.6416, allocations: 4 kB / 0.7556 GB, free: 5.141 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/0.6416, allocations: 51.94 kB / 0.7557 GB, free: 5.09 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.01773/0.6593, allocations: 9.672 MB / 0.7651 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00995/0.6693, allocations: 3.939 MB / 0.769 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00223/0.6716, allocations: 1.46 MB / 0.7704 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/0.6719, allocations: 50.02 kB / 0.7704 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.6719, allocations: 56.56 kB / 0.7705 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=242): time 4.839e-06/0.672, allocations: 4 kB / 0.7705 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of matching and sorting (n=242): time 0.03842/0.7104, allocations: 12.06 MB / 0.7823 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.7105, allocations: 235.6 kB / 0.7825 GB, free: 8.965 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002932/0.7135, allocations: 1.689 MB / 0.7842 GB, free: 7.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003229/0.7138, allocations: 25.7 kB / 0.7842 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.7148, allocations: 1.2 MB / 0.7854 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001028/0.7159, allocations: 0.8119 MB / 0.7861 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.7161, allocations: 0 / 0.7861 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.7163, allocations: 390.6 kB / 0.7865 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00202/0.7183, allocations: 1.18 MB / 0.7877 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.7206, allocations: 1.476 MB / 0.7891 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002167/0.7227, allocations: 1.302 MB / 0.7904 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.7228, allocations: 0 / 0.7904 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.03757/0.7603, allocations: 12.12 MB / 0.8022 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001042/0.7614, allocations: 2.865 MB / 0.805 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.7614, allocations: 11.94 kB / 0.805 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01607/0.7775, allocations: 4.848 MB / 0.8098 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/0.7795, allocations: 379.5 kB / 0.8101 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0397/0.8193, allocations: 17.17 MB / 0.8269 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004063/0.8234, allocations: 477.7 kB / 0.8274 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005355/0.8239, allocations: 83.98 kB / 0.8274 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.8239, allocations: 4 kB / 0.8274 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03789/0.8618, allocations: 11.79 MB / 0.8389 GB, free: 14.49 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-05/0.8619, allocations: 8 kB / 0.839 GB, free: 14.48 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01646/0.8784, allocations: 4.856 MB / 0.8437 GB, free: 9.617 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002138/0.8806, allocations: 363.5 kB / 0.844 GB, free: 9.262 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03934/0.9199, allocations: 17.16 MB / 0.8608 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003779/0.9238, allocations: 457.8 kB / 0.8612 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004529/0.9242, allocations: 83.98 kB / 0.8613 GB, free: 7.445 MB / 0.5886 GB Warning: Assuming fixed start value for the following 7 variables: order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(start = order4_1.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 203 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0008215/0.9251, allocations: 201.5 kB / 0.8615 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008526/0.9259, allocations: 296.3 kB / 0.8618 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2849/1.211, allocations: 12.34 MB / 0.8738 GB, free: 161.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/1.211, allocations: 24.75 kB / 0.8739 GB, free: 161.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.216e-05/1.211, allocations: 22.56 kB / 0.8739 GB, free: 161.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.437e-05/1.211, allocations: 12.06 kB / 0.8739 GB, free: 161.6 MB / 0.5886 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.04199/1.253, allocations: 15.85 MB / 0.8894 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/1.253, allocations: 3.969 kB / 0.8894 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/1.255, allocations: 281.5 kB / 0.8896 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01378/1.269, allocations: 4.784 MB / 0.8943 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003756/1.269, allocations: 14.53 kB / 0.8943 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03526/1.304, allocations: 15.18 MB / 0.9092 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.304, allocations: 4.516 kB / 0.9092 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0373/1.342, allocations: 14.28 MB / 0.9231 GB, free: 158.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007694/1.342, allocations: 402.5 kB / 0.9235 GB, free: 158 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004667/1.343, allocations: 11.39 kB / 0.9235 GB, free: 158 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002858/1.346, allocations: 356.7 kB / 0.9238 GB, free: 158 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001611/1.347, allocations: 0.5548 MB / 0.9244 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001968/1.348, allocations: 62.36 kB / 0.9244 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001432/1.349, allocations: 1.258 MB / 0.9257 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.21e-07/1.349, allocations: 3.906 kB / 0.9257 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00365/1.353, allocations: 1.599 MB / 0.9272 GB, free: 157.3 MB / 0.5886 GB 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.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 160 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003644/1.353, allocations: 153.6 kB / 0.9274 GB, free: 157.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02295/1.376, allocations: 9.715 MB / 0.9369 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/1.376, allocations: 0 / 0.9369 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01042/1.386, allocations: 3.968 MB / 0.9407 GB, free: 150 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/1.388, allocations: 190.2 kB / 0.9409 GB, free: 149.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00609/1.394, allocations: 4.076 MB / 0.9449 GB, free: 146.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009912/1.395, allocations: 1.904 MB / 0.9468 GB, free: 144.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001688/1.397, allocations: 444 kB / 0.9472 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003798/1.397, allocations: 114.4 kB / 0.9473 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of SimCode: time 4.91e-07/1.397, allocations: 0 / 0.9473 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.07993/1.477, allocations: 70.65 MB / 1.016 GB, free: 83.96 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)