Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.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_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, 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.416/1.416, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0009083/0.0009082, allocations: 85.66 kB / 280.4 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.4336/0.4336, allocations: 78.12 MB / 409.4 MB, free: 6.414 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.39e-05/1.41e-05, allocations: 3.938 kB / 485 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1342, allocations: 69.36 MB / 0.5413 GB, free: 6.957 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3605/0.4947, allocations: 98.14 MB / 0.6372 GB, free: 1.633 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.4949, allocations: 79.97 kB / 0.6372 GB, free: 1.555 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09715/0.5921, allocations: 36.01 MB / 0.6724 GB, free: 13.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5921, allocations: 0 / 0.6724 GB, free: 13.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.214e-05/0.5922, allocations: 24 kB / 0.6724 GB, free: 13.5 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004166/0.5964, allocations: 1.706 MB / 0.6741 GB, free: 11.74 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.5964, allocations: 17.34 kB / 0.6741 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/0.5997, allocations: 0.5563 MB / 0.6746 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.6012, allocations: 0.784 MB / 0.6754 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.6015, allocations: 236.2 kB / 0.6756 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.6016, allocations: 47.91 kB / 0.6757 GB, free: 10.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001482/0.6031, allocations: 0.7967 MB / 0.6765 GB, free: 9.215 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.6047, allocations: 0.8368 MB / 0.6773 GB, free: 8.367 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.6047, allocations: 0 / 0.6773 GB, free: 8.367 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.233e-05/0.6048, allocations: 3.938 kB / 0.6773 GB, free: 8.363 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.6048, allocations: 16 kB / 0.6773 GB, free: 8.348 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.006358/0.6112, allocations: 3.66 MB / 0.6809 GB, free: 4.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007367/0.6185, allocations: 2.619 MB / 0.6834 GB, free: 1.801 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007837/0.6193, allocations: 0.5143 MB / 0.6839 GB, free: 1.285 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.6195, allocations: 16.77 kB / 0.6839 GB, free: 1.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009763/0.6204, allocations: 0.6496 MB / 0.6846 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.685e-06/0.6205, allocations: 0 / 0.6846 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01208/0.6325, allocations: 3.923 MB / 0.6884 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.6326, allocations: 119.6 kB / 0.6885 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.6341, allocations: 0.8028 MB / 0.6893 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.6343, allocations: 25.7 kB / 0.6893 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000395/0.6347, allocations: 0.5205 MB / 0.6898 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004323/0.6351, allocations: 327.1 kB / 0.6902 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.6352, allocations: 0.8438 kB / 0.6902 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6354, allocations: 345.9 kB / 0.6905 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008073/0.6362, allocations: 438.6 kB / 0.6909 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008433/0.6371, allocations: 0.5614 MB / 0.6915 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008255/0.6379, allocations: 490.2 kB / 0.6919 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.6379, allocations: 4 kB / 0.6919 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01226/0.6502, allocations: 3.958 MB / 0.6958 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.239e-05/0.6503, allocations: 64.95 kB / 0.6958 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.6503, allocations: 0 / 0.6958 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005606/0.6559, allocations: 1.499 MB / 0.6973 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.657, allocations: 191.7 kB / 0.6975 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/0.6709, allocations: 6.559 MB / 0.7039 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.6726, allocations: 187 kB / 0.7041 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/0.6728, allocations: 35.98 kB / 0.7041 GB, free: 12.33 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.000379/0.6732, allocations: 158.9 kB / 0.7043 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003108/0.6735, allocations: 126.4 kB / 0.7044 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/0.6855, allocations: 4.032 MB / 0.7083 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.6856, allocations: 15.95 kB / 0.7083 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/0.6856, allocations: 10.61 kB / 0.7083 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/0.6856, allocations: 7.984 kB / 0.7084 GB, free: 7.953 MB / 0.5105 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.01392/0.6996, allocations: 5.49 MB / 0.7137 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.6996, allocations: 4 kB / 0.7137 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/0.7002, allocations: 97.16 kB / 0.7138 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00463/0.7048, allocations: 1.473 MB / 0.7153 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.705, allocations: 4 kB / 0.7153 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0134/0.7184, allocations: 7.551 MB / 0.7226 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.7184, allocations: 0 / 0.7226 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/0.7315, allocations: 4.769 MB / 0.7273 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004697/0.732, allocations: 231.2 kB / 0.7275 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002855/0.7323, allocations: 0 / 0.7275 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.7336, allocations: 127.9 kB / 0.7276 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005466/0.7342, allocations: 204.9 kB / 0.7278 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.803e-05/0.7342, allocations: 20 kB / 0.7278 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009469/0.7352, allocations: 0.6175 MB / 0.7284 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7352, allocations: 4.75 kB / 0.7285 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001375/0.7366, allocations: 391.4 kB / 0.7288 GB, free: 2.598 MB / 0.5261 GB 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,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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: 2 * 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: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002845/0.7369, allocations: 143.8 kB / 0.729 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004745/0.7416, allocations: 1.999 MB / 0.7309 GB, free: 424 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7417, allocations: 0 / 0.7309 GB, free: 424 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0038/0.7455, allocations: 1.525 MB / 0.7324 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008811/0.7464, allocations: 92.06 kB / 0.7325 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003369/0.7497, allocations: 1.693 MB / 0.7341 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007554/0.7505, allocations: 1.151 MB / 0.7353 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004562/0.751, allocations: 95.92 kB / 0.7354 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.7513, allocations: 67.36 kB / 0.7354 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of SimCode: time 5.51e-07/0.7513, allocations: 0 / 0.7354 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of Templates: time 0.03057/0.7818, allocations: 18.86 MB / 0.7538 GB, free: 9.047 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)