Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000985/0.000985, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008979/0.0008981, allocations: 95.34 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.459/0.459, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.484e-05/3.499e-05, allocations: 4 kB / 492.8 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3723, allocations: 69.51 MB / 0.5491 GB, free: 19.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1233/0.4957, allocations: 99.08 MB / 0.6459 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.496, allocations: 75.97 kB / 0.6459 GB, free: 468 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4056/0.9016, allocations: 35.71 MB / 0.6808 GB, free: 105.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.9017, allocations: 7.188 kB / 0.6808 GB, free: 105.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000143/0.9018, allocations: 31.62 kB / 0.6809 GB, free: 105.9 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004645/0.9065, allocations: 1.681 MB / 0.6825 GB, free: 105.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.9065, allocations: 12.88 kB / 0.6825 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003533/0.9101, allocations: 0.5585 MB / 0.6831 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.9117, allocations: 0.7883 MB / 0.6838 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002469/0.912, allocations: 228.9 kB / 0.684 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.9122, allocations: 76.62 kB / 0.6841 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.914, allocations: 0.9296 MB / 0.685 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.914, allocations: 12.69 kB / 0.685 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-05/0.9141, allocations: 33.25 kB / 0.6851 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.9141, allocations: 18.38 kB / 0.6851 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.9158, allocations: 0.8339 MB / 0.6859 GB, free: 104.5 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.006956/0.9227, allocations: 3.871 MB / 0.6897 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006511/0.9293, allocations: 2.602 MB / 0.6922 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008849/0.9302, allocations: 0.5384 MB / 0.6927 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.9303, allocations: 18.17 kB / 0.6928 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.9303, allocations: 43 kB / 0.6928 GB, free: 102.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 2.956e-06/0.9304, allocations: 4 kB / 0.6928 GB, free: 102.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01151/0.9419, allocations: 3.888 MB / 0.6966 GB, free: 102 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.233e-05/0.942, allocations: 141.7 kB / 0.6967 GB, free: 101.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.9434, allocations: 0.881 MB / 0.6976 GB, free: 101.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002481/0.9437, allocations: 41.45 kB / 0.6976 GB, free: 101.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.944, allocations: 0.5017 MB / 0.6981 GB, free: 101 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003806/0.9444, allocations: 335.2 kB / 0.6984 GB, free: 100.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.9445, allocations: 23.16 kB / 0.6985 GB, free: 100.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.993e-05/0.9445, allocations: 343.4 kB / 0.6988 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006921/0.9452, allocations: 438.8 kB / 0.6992 GB, free: 100.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007062/0.9459, allocations: 0.5641 MB / 0.6998 GB, free: 99.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007296/0.9467, allocations: 0.5373 MB / 0.7003 GB, free: 99.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.9467, allocations: 3.969 kB / 0.7003 GB, free: 99.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01141/0.9581, allocations: 4.055 MB / 0.7043 GB, free: 98.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003059/0.9585, allocations: 1.201 MB / 0.7054 GB, free: 97.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.9585, allocations: 3.812 kB / 0.7054 GB, free: 97.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00511/0.9636, allocations: 1.484 MB / 0.7069 GB, free: 97.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009819/0.9646, allocations: 172.4 kB / 0.707 GB, free: 97.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/0.9767, allocations: 6.514 MB / 0.7134 GB, free: 91.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.9784, allocations: 187.1 kB / 0.7136 GB, free: 90.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.69e-05/0.9785, allocations: 39.61 kB / 0.7136 GB, free: 90.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.9785, allocations: 4 kB / 0.7136 GB, free: 90.95 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01108/0.9896, allocations: 3.932 MB / 0.7175 GB, free: 87.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.9897, allocations: 4 kB / 0.7175 GB, free: 87.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004595/0.9943, allocations: 1.484 MB / 0.7189 GB, free: 86.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008446/0.9951, allocations: 158.1 kB / 0.7191 GB, free: 86.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/1.007, allocations: 6.515 MB / 0.7254 GB, free: 80.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/1.008, allocations: 187.4 kB / 0.7256 GB, free: 80.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.431e-05/1.009, allocations: 31.89 kB / 0.7256 GB, free: 80.44 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.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 (87): * Single equations (assignments): 84 * 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: 0 * Non-linear torn systems: 1 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003087/1.009, allocations: 186.9 kB / 0.7258 GB, free: 80.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/1.009, allocations: 126.5 kB / 0.7259 GB, free: 80.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/1.02, allocations: 4.008 MB / 0.7299 GB, free: 76.29 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/1.02, allocations: 8 kB / 0.7299 GB, free: 76.28 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.02, allocations: 8 kB / 0.7299 GB, free: 76.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/1.02, allocations: 3.984 kB / 0.7299 GB, free: 76.27 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 postOpt removeSimpleEquations (simulation): time 0.01293/1.033, allocations: 5.625 MB / 0.7354 GB, free: 70.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/1.033, allocations: 0 / 0.7354 GB, free: 70.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000786/1.034, allocations: 119.8 kB / 0.7355 GB, free: 70.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004247/1.038, allocations: 1.402 MB / 0.7368 GB, free: 69.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/1.038, allocations: 19.95 kB / 0.7369 GB, free: 69.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01009/1.048, allocations: 5.743 MB / 0.7425 GB, free: 63.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.048, allocations: 0 / 0.7425 GB, free: 63.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/1.06, allocations: 4.717 MB / 0.7471 GB, free: 58.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006046/1.061, allocations: 219.3 kB / 0.7473 GB, free: 58.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/1.061, allocations: 23.98 kB / 0.7473 GB, free: 58.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.062, allocations: 131.9 kB / 0.7474 GB, free: 58 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005198/1.063, allocations: 184.4 kB / 0.7476 GB, free: 57.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.886e-05/1.063, allocations: 27.98 kB / 0.7476 GB, free: 57.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008262/1.064, allocations: 0.6776 MB / 0.7483 GB, free: 57.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.064, allocations: 0 / 0.7483 GB, free: 57.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001773/1.065, allocations: 0.6671 MB / 0.749 GB, free: 56.44 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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 {(18,25.9%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002922/1.066, allocations: 151.1 kB / 0.7491 GB, free: 56.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008168/1.074, allocations: 3.626 MB / 0.7526 GB, free: 52.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.074, allocations: 0 / 0.7526 GB, free: 52.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003449/1.077, allocations: 1.421 MB / 0.754 GB, free: 51.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009947/1.078, allocations: 108.4 kB / 0.7541 GB, free: 51.05 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/1.081, allocations: 1.775 MB / 0.7559 GB, free: 49.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/1.082, allocations: 1.158 MB / 0.757 GB, free: 48.08 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007749/1.083, allocations: 200.9 kB / 0.7572 GB, free: 47.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/1.083, allocations: 63.36 kB / 0.7573 GB, free: 47.83 MB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/1.083, allocations: 0 / 0.7573 GB, free: 47.83 MB / 490.7 MB Notification: Performance of Templates: time 0.03602/1.119, allocations: 27.61 MB / 0.7842 GB, free: 20.45 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)