Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 174.5 kB / 12.73 MB, free: 2.59 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.292/1.292, allocations: 205.2 MB / 218.5 MB, free: 9.223 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.000863/0.0008633, allocations: 76.23 kB / 266.6 MB, free: 9.277 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.06514/0.06514, allocations: 12.59 MB / 327.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2806/0.2806, allocations: 78.02 MB / 456.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.787e-05, allocations: 7.984 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 69.32 MB / 0.5895 GB, free: 2.492 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3948/0.5042, allocations: 99.45 MB / 0.6866 GB, free: 0 / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.5046, allocations: 74.58 kB / 0.6867 GB, free: 15.96 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1566/0.6612, allocations: 58.95 MB / 0.7442 GB, free: 14.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6612, allocations: 4 kB / 0.7442 GB, free: 14.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001385/0.6614, allocations: 55.94 kB / 0.7443 GB, free: 14.16 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01172/0.6731, allocations: 3.733 MB / 0.7479 GB, free: 10.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.6732, allocations: 11.98 kB / 0.7479 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/0.6832, allocations: 1.572 MB / 0.7495 GB, free: 9.219 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003778/0.6871, allocations: 1.457 MB / 0.7509 GB, free: 8.062 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006972/0.6878, allocations: 0.6768 MB / 0.7516 GB, free: 7.359 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005137/0.6883, allocations: 198 kB / 0.7518 GB, free: 7.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00472/0.693, allocations: 2.412 MB / 0.7541 GB, free: 5.305 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/0.6931, allocations: 0 / 0.7541 GB, free: 5.305 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002719/0.6934, allocations: 76 kB / 0.7542 GB, free: 5.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.906e-05/0.6934, allocations: 47.94 kB / 0.7542 GB, free: 5.184 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004447/0.6979, allocations: 2.179 MB / 0.7564 GB, free: 3.004 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.01986/0.7178, allocations: 9.599 MB / 0.7657 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/0.7283, allocations: 4.021 MB / 0.7697 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002553/0.7309, allocations: 1.428 MB / 0.771 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003009/0.7312, allocations: 41.95 kB / 0.7711 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.7313, allocations: 60.56 kB / 0.7711 GB, free: 3.305 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=227): time 4.088e-06/0.7313, allocations: 0 / 0.7711 GB, free: 3.305 MB / 0.4948 GB Notification: Performance of matching and sorting (n=227): time 0.03868/0.77, allocations: 12.07 MB / 0.7829 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/0.7701, allocations: 128.8 kB / 0.7831 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002704/0.7728, allocations: 1.636 MB / 0.7847 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005451/0.7734, allocations: 61.7 kB / 0.7847 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008773/0.7743, allocations: 1.121 MB / 0.7858 GB, free: 4.207 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001011/0.7753, allocations: 0.7815 MB / 0.7866 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.7755, allocations: 44 kB / 0.7866 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.7757, allocations: 394.1 kB / 0.787 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002135/0.7778, allocations: 1.145 MB / 0.7881 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002344/0.7802, allocations: 1.455 MB / 0.7895 GB, free: 276 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002274/0.7825, allocations: 1.259 MB / 0.7908 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/0.7825, allocations: 4 kB / 0.7908 GB, free: 15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03918/0.8217, allocations: 12.22 MB / 0.8027 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001176/0.8229, allocations: 2.738 MB / 0.8054 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.8229, allocations: 4 kB / 0.8054 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01778/0.8407, allocations: 5.156 MB / 0.8104 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.8425, allocations: 323.5 kB / 0.8107 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04282/0.8854, allocations: 17.92 MB / 0.8282 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003756/0.8892, allocations: 493.8 kB / 0.8287 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003199/0.8895, allocations: 79.92 kB / 0.8288 GB, free: 7.684 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.8895, allocations: 4 kB / 0.8288 GB, free: 7.68 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03748/0.927, allocations: 11.94 MB / 0.8404 GB, free: 11.72 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.032e-05/0.9271, allocations: 8 kB / 0.8404 GB, free: 11.71 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0175/0.9446, allocations: 5.152 MB / 0.8455 GB, free: 6.551 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/0.9463, allocations: 311.6 kB / 0.8458 GB, free: 6.246 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04188/0.9882, allocations: 17.94 MB / 0.8633 GB, free: 4.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003798/0.992, allocations: 462 kB / 0.8637 GB, free: 3.699 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003417/0.9924, allocations: 79.98 kB / 0.8638 GB, free: 3.621 MB / 0.5886 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.000638/0.993, allocations: 221.6 kB / 0.864 GB, free: 3.398 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005967/0.9937, allocations: 272.6 kB / 0.8643 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3153/1.309, allocations: 12.38 MB / 0.8764 GB, free: 164.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/1.309, allocations: 23.97 kB / 0.8764 GB, free: 164.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.43e-05/1.309, allocations: 20.3 kB / 0.8764 GB, free: 164.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.475e-05/1.309, allocations: 11.44 kB / 0.8764 GB, free: 164.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.04283/1.352, allocations: 15.87 MB / 0.8919 GB, free: 163.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/1.352, allocations: 6.438 kB / 0.8919 GB, free: 163.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/1.354, allocations: 247.6 kB / 0.8922 GB, free: 163.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01438/1.368, allocations: 4.87 MB / 0.8969 GB, free: 163.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006731/1.369, allocations: 40.47 kB / 0.897 GB, free: 163.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03225/1.401, allocations: 15.37 MB / 0.912 GB, free: 162 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.401, allocations: 7.594 kB / 0.912 GB, free: 162 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03811/1.439, allocations: 14.27 MB / 0.9259 GB, free: 158.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009077/1.44, allocations: 378.2 kB / 0.9263 GB, free: 158.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004987/1.441, allocations: 43.56 kB / 0.9263 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002776/1.443, allocations: 359.7 kB / 0.9267 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001974/1.445, allocations: 0.5443 MB / 0.9272 GB, free: 158 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/1.446, allocations: 57.83 kB / 0.9272 GB, free: 158 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001709/1.447, allocations: 1.252 MB / 0.9285 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.8e-07/1.447, allocations: 0 / 0.9285 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004258/1.452, allocations: 1.693 MB / 0.9301 GB, free: 157.3 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004081/1.452, allocations: 181.9 kB / 0.9303 GB, free: 157.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02473/1.477, allocations: 9.35 MB / 0.9394 GB, free: 148.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.477, allocations: 0 / 0.9394 GB, free: 148.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01125/1.488, allocations: 3.897 MB / 0.9432 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/1.49, allocations: 188.3 kB / 0.9434 GB, free: 145.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007128/1.497, allocations: 3.914 MB / 0.9472 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009651/1.498, allocations: 1.789 MB / 0.949 GB, free: 140.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001641/1.5, allocations: 352.7 kB / 0.9493 GB, free: 140.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003979/1.5, allocations: 103.4 kB / 0.9494 GB, free: 140 MB / 0.5886 GB Notification: Performance of SimCode: time 9.12e-07/1.5, allocations: 0 / 0.9494 GB, free: 140 MB / 0.5886 GB Notification: Performance of Templates: time 0.09649/1.597, allocations: 74.98 MB / 1.023 GB, free: 72.9 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)