Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 221.5 MB / 229.6 MB, free: 7.52 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000829/0.0008291, allocations: 96.81 kB / 280.5 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4858/0.4858, allocations: 78.94 MB / 410.2 MB, free: 6.035 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.762e-05/1.757e-05, allocations: 4 kB / 485.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.151, allocations: 69.52 MB / 0.5424 GB, free: 5.902 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3975/0.5485, allocations: 99.02 MB / 0.6391 GB, free: 15.09 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.5488, allocations: 77.67 kB / 0.6392 GB, free: 15.01 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1732/0.722, allocations: 66.5 MB / 0.7041 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.513e-06/0.722, allocations: 0 / 0.7041 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001634/0.7222, allocations: 57.53 kB / 0.7042 GB, free: 12.34 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01242/0.7346, allocations: 3.991 MB / 0.7081 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.7347, allocations: 12.03 kB / 0.7081 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/0.7452, allocations: 1.592 MB / 0.7097 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004023/0.7493, allocations: 1.631 MB / 0.7113 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006945/0.75, allocations: 0.6163 MB / 0.7119 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005308/0.7506, allocations: 122.4 kB / 0.712 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004241/0.7548, allocations: 2.218 MB / 0.7141 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004066/0.7589, allocations: 2.275 MB / 0.7164 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.711e-05/0.759, allocations: 0 / 0.7164 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002134/0.7592, allocations: 0 / 0.7164 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.324e-05/0.7592, allocations: 52 kB / 0.7164 GB, free: 15.5 MB / 0.5261 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 preOpt removeSimpleEquations (simulation): time 0.01899/0.7782, allocations: 9.66 MB / 0.7258 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009244/0.7875, allocations: 3.939 MB / 0.7297 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002419/0.7899, allocations: 1.456 MB / 0.7311 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/0.7902, allocations: 41.89 kB / 0.7312 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.7903, allocations: 60.56 kB / 0.7312 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=241): time 4.188e-06/0.7903, allocations: 1.406 kB / 0.7312 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=241): time 0.03718/0.8275, allocations: 12.07 MB / 0.743 GB, free: 3.676 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.8276, allocations: 231.6 kB / 0.7432 GB, free: 3.402 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/0.8304, allocations: 1.692 MB / 0.7449 GB, free: 1.703 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007244/0.8311, allocations: 29.64 kB / 0.7449 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.8322, allocations: 1.204 MB / 0.7461 GB, free: 464 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001173/0.8334, allocations: 0.8005 MB / 0.7469 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.8335, allocations: 4 kB / 0.7469 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002169/0.8338, allocations: 386.6 kB / 0.7472 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002103/0.8359, allocations: 1.18 MB / 0.7484 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/0.8379, allocations: 1.476 MB / 0.7498 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002105/0.8401, allocations: 1.292 MB / 0.7511 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.8401, allocations: 0 / 0.7511 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.3429/1.183, allocations: 12.11 MB / 0.7629 GB, free: 110.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005376/1.184, allocations: 2.866 MB / 0.7657 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/1.184, allocations: 6.656 kB / 0.7657 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01498/1.199, allocations: 4.857 MB / 0.7705 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/1.201, allocations: 375.3 kB / 0.7708 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03552/1.236, allocations: 17.19 MB / 0.7876 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003766/1.24, allocations: 475 kB / 0.7881 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003042/1.24, allocations: 87.03 kB / 0.7881 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/1.24, allocations: 4.688 kB / 0.7881 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03463/1.275, allocations: 11.78 MB / 0.7996 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.656e-05/1.275, allocations: 6.75 kB / 0.7997 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01583/1.291, allocations: 4.86 MB / 0.8044 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/1.293, allocations: 362 kB / 0.8047 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03571/1.329, allocations: 17.2 MB / 0.8215 GB, free: 101.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003775/1.333, allocations: 451 kB / 0.822 GB, free: 101.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003065/1.333, allocations: 87.73 kB / 0.8221 GB, free: 101.3 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: 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 order3_1.delta:VARIABLE(start = order3_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 (206): * Single equations (assignments): 201 * 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.0006711/1.334, allocations: 200.5 kB / 0.8222 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005913/1.334, allocations: 306.2 kB / 0.8225 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03368/1.368, allocations: 12.35 MB / 0.8346 GB, free: 98.54 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/1.368, allocations: 26.12 kB / 0.8346 GB, free: 98.54 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/1.368, allocations: 19.38 kB / 0.8346 GB, free: 98.54 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.275e-05/1.368, allocations: 10.08 kB / 0.8346 GB, free: 98.54 MB / 0.5573 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.03772/1.406, allocations: 15.84 MB / 0.8501 GB, free: 94.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/1.406, allocations: 7.391 kB / 0.8501 GB, free: 94.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/1.407, allocations: 272.2 kB / 0.8504 GB, free: 94.31 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01353/1.421, allocations: 4.81 MB / 0.8551 GB, free: 93.45 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004165/1.421, allocations: 19.31 kB / 0.8551 GB, free: 93.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02985/1.451, allocations: 15.17 MB / 0.8699 GB, free: 83.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/1.451, allocations: 7.562 kB / 0.8699 GB, free: 83.04 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0369/1.488, allocations: 14.28 MB / 0.8839 GB, free: 71.42 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008986/1.489, allocations: 406.2 kB / 0.8842 GB, free: 71.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005296/1.49, allocations: 9.812 kB / 0.8843 GB, free: 71.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00281/1.492, allocations: 354 kB / 0.8846 GB, free: 70.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001682/1.494, allocations: 0.5557 MB / 0.8851 GB, free: 70.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/1.494, allocations: 60 kB / 0.8852 GB, free: 70.44 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001485/1.496, allocations: 1.263 MB / 0.8864 GB, free: 69.28 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.132e-06/1.496, allocations: 0 / 0.8864 GB, free: 69.28 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004235/1.5, allocations: 1.602 MB / 0.888 GB, free: 67.76 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (162): * Single equations (assignments): 159 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003826/1.5, allocations: 154.1 kB / 0.8881 GB, free: 67.63 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02414/1.525, allocations: 9.704 MB / 0.8976 GB, free: 58.87 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/1.525, allocations: 0 / 0.8976 GB, free: 58.87 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01093/1.536, allocations: 3.975 MB / 0.9015 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/1.538, allocations: 192.8 kB / 0.9017 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006594/1.544, allocations: 3.994 MB / 0.9056 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009933/1.545, allocations: 1.905 MB / 0.9074 GB, free: 50.07 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001702/1.547, allocations: 443.5 kB / 0.9079 GB, free: 49.78 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003874/1.548, allocations: 117.8 kB / 0.908 GB, free: 49.68 MB / 0.5573 GB Notification: Performance of SimCode: time 1.192e-06/1.548, allocations: 0 / 0.908 GB, free: 49.68 MB / 0.5573 GB Notification: Performance of Templates: time 0.09082/1.638, allocations: 70.66 MB / 0.977 GB, free: 2.117 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)