Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.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.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005183/0.005183, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.4 MB / 221.2 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008805/0.0008805, allocations: 90.88 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06927/0.06927, allocations: 12.61 MB / 330.5 MB, free: 10.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4305/0.4305, allocations: 78.51 MB / 460 MB, free: 3.461 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005414/0.0005414, allocations: 23.97 kB / 0.5285 GB, free: 35.1 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1393, allocations: 69.33 MB / 0.5962 GB, free: 3.836 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4426/0.5819, allocations: 102 MB / 0.6957 GB, free: 35.73 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.5823, allocations: 84.28 kB / 0.6958 GB, free: 35.73 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1582/0.7405, allocations: 67.67 MB / 0.7619 GB, free: 19.64 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.7406, allocations: 3.844 kB / 0.7619 GB, free: 19.64 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001538/0.7407, allocations: 58.53 kB / 0.762 GB, free: 19.63 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01329/0.754, allocations: 4.634 MB / 0.7665 GB, free: 17.07 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.7541, allocations: 19.33 kB / 0.7665 GB, free: 17.07 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/0.7641, allocations: 1.609 MB / 0.7681 GB, free: 16.48 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00472/0.7689, allocations: 1.708 MB / 0.7697 GB, free: 15.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005915/0.7695, allocations: 0.7505 MB / 0.7705 GB, free: 14.99 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006854/0.7702, allocations: 211.2 kB / 0.7707 GB, free: 14.98 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005733/0.776, allocations: 3.196 MB / 0.7738 GB, free: 14.15 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/0.776, allocations: 3.938 kB / 0.7738 GB, free: 14.15 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000244/0.7763, allocations: 84.25 kB / 0.7739 GB, free: 14.15 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/0.7763, allocations: 46.69 kB / 0.7739 GB, free: 14.15 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005289/0.7816, allocations: 2.976 MB / 0.7768 GB, free: 13.69 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01827/0.7999, allocations: 9.922 MB / 0.7865 GB, free: 8.695 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/0.8106, allocations: 4.858 MB / 0.7913 GB, free: 4.449 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005129/0.8112, allocations: 41.95 kB / 0.7913 GB, free: 4.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005415/0.8166, allocations: 2.423 MB / 0.7937 GB, free: 1.965 MB / 474.7 MB Notification: Performance of pre-optimization done (n=248): time 9.177e-06/0.8166, allocations: 0 / 0.7937 GB, free: 1.965 MB / 474.7 MB Notification: Performance of matching and sorting (n=248): time 0.1116/0.9282, allocations: 30.89 MB / 0.8238 GB, free: 2.957 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.9284, allocations: 184.3 kB / 0.824 GB, free: 2.742 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004845/0.9332, allocations: 1.917 MB / 0.8259 GB, free: 0.8125 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.000833/0.9341, allocations: 65.7 kB / 0.826 GB, free: 0.7422 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.9354, allocations: 1.196 MB / 0.8271 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001595/0.937, allocations: 0.847 MB / 0.8279 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006293/0.9376, allocations: 52 kB / 0.828 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002589/0.9379, allocations: 398.9 kB / 0.8284 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00445/0.9424, allocations: 1.887 MB / 0.8302 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004642/0.947, allocations: 2.183 MB / 0.8324 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004651/0.9517, allocations: 2.108 MB / 0.8344 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.9517, allocations: 0 / 0.8344 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.04388/0.9956, allocations: 14.46 MB / 0.8485 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.9958, allocations: 122.8 kB / 0.8486 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.9958, allocations: 12 kB / 0.8487 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01967/1.015, allocations: 6.43 MB / 0.8549 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002532/1.018, allocations: 423.4 kB / 0.8553 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06495/1.083, allocations: 26.46 MB / 0.8812 GB, free: 7.727 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004671/1.088, allocations: 0.5328 MB / 0.8817 GB, free: 7.191 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007038/1.088, allocations: 91.97 kB / 0.8818 GB, free: 7.102 MB / 0.5574 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (226): * Single equations (assignments): 221 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.002213/1.091, allocations: 0.5077 MB / 0.8823 GB, free: 6.57 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00122/1.092, allocations: 300.3 kB / 0.8826 GB, free: 6.273 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04315/1.135, allocations: 14.74 MB / 0.897 GB, free: 7.477 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.87e-05/1.135, allocations: 39.92 kB / 0.897 GB, free: 7.438 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.673e-05/1.135, allocations: 20 kB / 0.897 GB, free: 7.418 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001071/1.135, allocations: 11.95 kB / 0.897 GB, free: 7.406 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.05183/1.187, allocations: 18.27 MB / 0.9149 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.182e-05/1.187, allocations: 8.016 kB / 0.9149 GB, free: 4.973 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001945/1.189, allocations: 251.6 kB / 0.9151 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3508/1.54, allocations: 6.187 MB / 0.9212 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008354/1.541, allocations: 51.95 kB / 0.9212 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05798/1.599, allocations: 26.89 MB / 0.9475 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.599, allocations: 7.344 kB / 0.9475 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04357/1.643, allocations: 17.32 MB / 0.9644 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.644, allocations: 416.7 kB / 0.9648 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005921/1.644, allocations: 53.3 kB / 0.9648 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002832/1.647, allocations: 409 kB / 0.9652 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002091/1.649, allocations: 0.5799 MB / 0.9658 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002014/1.65, allocations: 66.55 kB / 0.9659 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002234/1.652, allocations: 1.481 MB / 0.9673 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.8e-07/1.652, allocations: 5.062 kB / 0.9673 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003571/1.655, allocations: 1.12 MB / 0.9684 GB, free: 155.1 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(63,8.1%) 25} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004425/1.656, allocations: 181.8 kB / 0.9686 GB, free: 155 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01592/1.672, allocations: 7.047 MB / 0.9755 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.672, allocations: 0 / 0.9755 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01244/1.684, allocations: 5.057 MB / 0.9804 GB, free: 151 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/1.686, allocations: 231 kB / 0.9806 GB, free: 150.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008444/1.695, allocations: 6.447 MB / 0.9869 GB, free: 146.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/1.696, allocations: 1.865 MB / 0.9887 GB, free: 144.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001002/1.697, allocations: 217.1 kB / 0.989 GB, free: 144.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005058/1.697, allocations: 134.9 kB / 0.9891 GB, free: 144.4 MB / 0.5886 GB Notification: Performance of SimCode: time 1.964e-06/1.698, allocations: 4 kB / 0.9891 GB, free: 144.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.07407/1.772, allocations: 55.32 MB / 1.043 GB, free: 103.3 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)