Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001451, allocations: 169.9 kB / 7.645 MB, free: 1.434 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.335/1.335, allocations: 205.3 MB / 213.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008537/0.0008536, allocations: 86.7 kB / 261.4 MB, free: 1.68 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.06287/0.06287, allocations: 12.6 MB / 321.9 MB, free: 15.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4325/0.4325, allocations: 78.05 MB / 450.8 MB, free: 8.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.453e-05/1.456e-05, allocations: 0 / 0.5147 GB, free: 41.86 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09971/0.09974, allocations: 69.33 MB / 0.5824 GB, free: 328 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1152/0.215, allocations: 99.34 MB / 0.6794 GB, free: 12.84 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.2152, allocations: 79.95 kB / 0.6795 GB, free: 12.76 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3328/0.548, allocations: 33.79 MB / 0.7125 GB, free: 95.76 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5481, allocations: 0 / 0.7125 GB, free: 95.76 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.748e-05/0.5481, allocations: 28.25 kB / 0.7125 GB, free: 95.75 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.003607/0.5517, allocations: 1.694 MB / 0.7142 GB, free: 94.71 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5518, allocations: 7.812 kB / 0.7142 GB, free: 94.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/0.5549, allocations: 0.5665 MB / 0.7147 GB, free: 94.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.5562, allocations: 0.7769 MB / 0.7155 GB, free: 94.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/0.5564, allocations: 200.6 kB / 0.7157 GB, free: 93.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.5566, allocations: 54.16 kB / 0.7157 GB, free: 93.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001204/0.5578, allocations: 0.7996 MB / 0.7165 GB, free: 93.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.5591, allocations: 0.8317 MB / 0.7173 GB, free: 93.37 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.5591, allocations: 0 / 0.7173 GB, free: 93.37 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.044e-05/0.5592, allocations: 0 / 0.7173 GB, free: 93.37 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.5592, allocations: 19.41 kB / 0.7173 GB, free: 93.37 MB / 474.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.005963/0.5652, allocations: 3.711 MB / 0.721 GB, free: 90 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006444/0.5717, allocations: 2.574 MB / 0.7235 GB, free: 87.32 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008308/0.5725, allocations: 0.5148 MB / 0.724 GB, free: 86.81 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.5727, allocations: 19.34 kB / 0.724 GB, free: 86.79 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.5727, allocations: 47.28 kB / 0.724 GB, free: 86.74 MB / 474.7 MB Notification: Performance of pre-optimization done (n=93): time 2.996e-06/0.5727, allocations: 0 / 0.724 GB, free: 86.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=93): time 0.01078/0.5835, allocations: 3.802 MB / 0.7278 GB, free: 82.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/0.5836, allocations: 141.3 kB / 0.7279 GB, free: 82.76 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.5847, allocations: 0.8067 MB / 0.7287 GB, free: 81.94 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001915/0.5849, allocations: 29.64 kB / 0.7287 GB, free: 81.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.5852, allocations: 0.505 MB / 0.7292 GB, free: 81.39 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.5854, allocations: 323.2 kB / 0.7295 GB, free: 81.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-05/0.5855, allocations: 0 / 0.7295 GB, free: 81.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.988e-05/0.5856, allocations: 337.9 kB / 0.7298 GB, free: 80.73 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005716/0.5861, allocations: 426.6 kB / 0.7302 GB, free: 80.32 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006317/0.5868, allocations: 0.5466 MB / 0.7308 GB, free: 79.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006355/0.5874, allocations: 482.2 kB / 0.7312 GB, free: 79.26 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5874, allocations: 4 kB / 0.7312 GB, free: 79.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01096/0.5984, allocations: 3.924 MB / 0.7351 GB, free: 75.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002351/0.5987, allocations: 1.21 MB / 0.7363 GB, free: 74.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.5987, allocations: 0 / 0.7363 GB, free: 74.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004683/0.6034, allocations: 1.464 MB / 0.7377 GB, free: 72.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008398/0.6043, allocations: 159.8 kB / 0.7378 GB, free: 72.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/0.6154, allocations: 6.336 MB / 0.744 GB, free: 65.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.6169, allocations: 171.2 kB / 0.7442 GB, free: 65.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.617, allocations: 35.98 kB / 0.7442 GB, free: 65.74 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.6171, allocations: 7.938 kB / 0.7442 GB, free: 65.73 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01041/0.6275, allocations: 3.783 MB / 0.7479 GB, free: 61.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.6275, allocations: 4 kB / 0.7479 GB, free: 61.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004442/0.632, allocations: 1.448 MB / 0.7493 GB, free: 60.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007843/0.6328, allocations: 163.7 kB / 0.7495 GB, free: 60.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/0.6437, allocations: 6.356 MB / 0.7557 GB, free: 53.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.6452, allocations: 163.1 kB / 0.7559 GB, free: 53.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.6454, allocations: 35.98 kB / 0.7559 GB, free: 53.67 MB / 474.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.0003708/0.6458, allocations: 151.4 kB / 0.756 GB, free: 53.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/0.6461, allocations: 122.5 kB / 0.7562 GB, free: 53.38 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/0.6566, allocations: 3.89 MB / 0.76 GB, free: 49.47 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.6567, allocations: 8 kB / 0.76 GB, free: 49.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.6567, allocations: 8 kB / 0.76 GB, free: 49.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-05/0.6567, allocations: 7.984 kB / 0.76 GB, free: 49.45 MB / 474.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.01242/0.6691, allocations: 5.407 MB / 0.7653 GB, free: 43.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/0.6692, allocations: 4 kB / 0.7653 GB, free: 43.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006852/0.6699, allocations: 119.8 kB / 0.7654 GB, free: 43.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004059/0.674, allocations: 1.406 MB / 0.7667 GB, free: 42.44 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001872/0.6742, allocations: 7.984 kB / 0.7668 GB, free: 42.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00974/0.6839, allocations: 5.623 MB / 0.7722 GB, free: 36.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/0.684, allocations: 7.984 kB / 0.7723 GB, free: 36.69 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/0.6958, allocations: 4.619 MB / 0.7768 GB, free: 32.04 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/0.6963, allocations: 211.4 kB / 0.777 GB, free: 31.81 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003903/0.6967, allocations: 11.95 kB / 0.777 GB, free: 31.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.6981, allocations: 123.9 kB / 0.7771 GB, free: 31.68 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005733/0.6987, allocations: 180.4 kB / 0.7773 GB, free: 31.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.6988, allocations: 27.98 kB / 0.7773 GB, free: 31.47 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009053/0.6997, allocations: 0.6136 MB / 0.7779 GB, free: 30.85 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6997, allocations: 0 / 0.7779 GB, free: 30.85 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002397/0.7021, allocations: 0.6044 MB / 0.7785 GB, free: 30.25 MB / 474.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 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003593/0.7025, allocations: 143.1 kB / 0.7786 GB, free: 30.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008148/0.7107, allocations: 3.505 MB / 0.782 GB, free: 26.52 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.7107, allocations: 0 / 0.782 GB, free: 26.52 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003415/0.7142, allocations: 1.383 MB / 0.7834 GB, free: 25.11 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.7152, allocations: 88.42 kB / 0.7835 GB, free: 25.03 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.7183, allocations: 1.731 MB / 0.7852 GB, free: 23.26 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000514/0.7188, allocations: 1.154 MB / 0.7863 GB, free: 22.08 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008288/0.7196, allocations: 197.9 kB / 0.7865 GB, free: 21.88 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.7198, allocations: 59.38 kB / 0.7865 GB, free: 21.82 MB / 474.7 MB Notification: Performance of SimCode: time 7.52e-07/0.7198, allocations: 3.938 kB / 0.7865 GB, free: 21.82 MB / 474.7 MB Notification: Performance of Templates: time 0.03375/0.7536, allocations: 25.49 MB / 0.8114 GB, free: 12.35 MB / 490.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)