Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, 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.265/1.265, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.0008529/0.0008528, allocations: 91.39 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4528/0.4528, allocations: 78.94 MB / 410.2 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.091e-05/1.093e-05, allocations: 0 / 485.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1352, allocations: 69.51 MB / 0.5424 GB, free: 5.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3925/0.5276, allocations: 98.93 MB / 0.639 GB, free: 15.19 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.5279, allocations: 73.84 kB / 0.6391 GB, free: 15.12 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08779/0.6157, allocations: 31.12 MB / 0.6695 GB, free: 40 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.6158, allocations: 4 kB / 0.6695 GB, free: 36 kB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001076/0.6159, allocations: 24 kB / 0.6695 GB, free: 12 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004915/0.6208, allocations: 1.747 MB / 0.6712 GB, free: 14.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.6209, allocations: 12.03 kB / 0.6712 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0037/0.6246, allocations: 0.5564 MB / 0.6718 GB, free: 13.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/0.6266, allocations: 0.8116 MB / 0.6726 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/0.6269, allocations: 206.5 kB / 0.6728 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/0.6272, allocations: 47.91 kB / 0.6728 GB, free: 12.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001768/0.629, allocations: 0.8136 MB / 0.6736 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.6307, allocations: 0.8571 MB / 0.6745 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.6308, allocations: 0 / 0.6745 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.008e-05/0.6309, allocations: 0 / 0.6745 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.6309, allocations: 20 kB / 0.6745 GB, free: 10.79 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.007734/0.6386, allocations: 3.828 MB / 0.6782 GB, free: 6.785 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007478/0.6461, allocations: 2.603 MB / 0.6808 GB, free: 4.094 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.6474, allocations: 0.5284 MB / 0.6813 GB, free: 3.562 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/0.6476, allocations: 16.77 kB / 0.6813 GB, free: 3.543 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.6477, allocations: 47.33 kB / 0.6813 GB, free: 3.488 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 3.076e-06/0.6477, allocations: 3.938 kB / 0.6813 GB, free: 3.484 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01286/0.6605, allocations: 3.836 MB / 0.6851 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.396e-05/0.6607, allocations: 141.3 kB / 0.6852 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.6625, allocations: 0.8548 MB / 0.686 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002931/0.6628, allocations: 26.64 kB / 0.6861 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004655/0.6633, allocations: 0.513 MB / 0.6866 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005684/0.6639, allocations: 335 kB / 0.6869 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.664, allocations: 0 / 0.6869 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.6642, allocations: 341.9 kB / 0.6872 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008488/0.665, allocations: 438.6 kB / 0.6876 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009338/0.666, allocations: 0.57 MB / 0.6882 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008888/0.6669, allocations: 0.4891 MB / 0.6887 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.6669, allocations: 0 / 0.6887 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01247/0.6794, allocations: 4.029 MB / 0.6926 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004722/0.6799, allocations: 1.21 MB / 0.6938 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.6799, allocations: 4.781 kB / 0.6938 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005659/0.6856, allocations: 1.532 MB / 0.6953 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009051/0.6865, allocations: 155.8 kB / 0.6954 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01506/0.7016, allocations: 7.729 MB / 0.703 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.7034, allocations: 171.3 kB / 0.7031 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/0.7036, allocations: 35.98 kB / 0.7032 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.7036, allocations: 4 kB / 0.7032 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01286/0.7165, allocations: 3.876 MB / 0.707 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/0.7166, allocations: 4.656 kB / 0.707 GB, free: 8.742 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005679/0.7223, allocations: 1.524 MB / 0.7085 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009473/0.7233, allocations: 151.8 kB / 0.7086 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01491/0.7382, allocations: 7.722 MB / 0.7162 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.7399, allocations: 159.4 kB / 0.7163 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.7401, allocations: 43.92 kB / 0.7163 GB, free: 14.9 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004305/0.7405, allocations: 161.2 kB / 0.7165 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003862/0.7409, allocations: 130.4 kB / 0.7166 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/0.7529, allocations: 3.941 MB / 0.7205 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.753, allocations: 15.98 kB / 0.7205 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.753, allocations: 8 kB / 0.7205 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.753, allocations: 3.984 kB / 0.7205 GB, free: 10.61 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 postOpt removeSimpleEquations (simulation): time 0.01424/0.7673, allocations: 5.52 MB / 0.7259 GB, free: 5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.7673, allocations: 1.406 kB / 0.7259 GB, free: 5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008687/0.7682, allocations: 123.8 kB / 0.726 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004783/0.773, allocations: 1.395 MB / 0.7274 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002405/0.7733, allocations: 4 kB / 0.7274 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/0.7853, allocations: 5.62 MB / 0.7329 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/0.7854, allocations: 3.938 kB / 0.7329 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01354/0.7989, allocations: 4.691 MB / 0.7374 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006043/0.7996, allocations: 231.2 kB / 0.7377 GB, free: 8.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004405/0.8, allocations: 8 kB / 0.7377 GB, free: 8.762 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/0.8016, allocations: 127.8 kB / 0.7378 GB, free: 8.637 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006059/0.8023, allocations: 177 kB / 0.738 GB, free: 8.465 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.8024, allocations: 24 kB / 0.738 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001183/0.8036, allocations: 0.6573 MB / 0.7386 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.8e-07/0.8036, allocations: 0 / 0.7386 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002639/0.8063, allocations: 0.6357 MB / 0.7393 GB, free: 7.141 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003403/0.8066, allocations: 132.3 kB / 0.7394 GB, free: 7.004 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009778/0.8164, allocations: 3.785 MB / 0.7431 GB, free: 3.129 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.8164, allocations: 112 / 0.7431 GB, free: 3.129 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004087/0.8205, allocations: 1.431 MB / 0.7445 GB, free: 1.672 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.8218, allocations: 89.23 kB / 0.7446 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004296/0.8262, allocations: 1.911 MB / 0.7464 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008621/0.8271, allocations: 1.17 MB / 0.7476 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001043/0.8281, allocations: 202.6 kB / 0.7478 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.8284, allocations: 59.42 kB / 0.7478 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of SimCode: time 6.31e-07/0.8284, allocations: 0 / 0.7478 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of Templates: time 0.3232/1.152, allocations: 26.66 MB / 0.7739 GB, free: 141.7 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)