Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005468/0.005468, allocations: 169 kB / 15.12 MB, free: 5.559 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.264/1.264, allocations: 223.2 MB / 239 MB, free: 52 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009197/0.0009198, allocations: 102 kB / 290.2 MB, free: 4.531 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4409/0.4409, allocations: 78.58 MB / 419.9 MB, free: 36.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003499, allocations: 12 kB / 499.8 MB, free: 7.266 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1096, allocations: 69.36 MB / 0.5558 GB, free: 1.844 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII): time 0.009427/0.1191, allocations: 11.34 MB / 0.5669 GB, free: 6.465 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006341/0.1255, allocations: 3.349 MB / 0.5701 GB, free: 3.109 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/0.1274, allocations: 28 kB / 0.5702 GB, free: 3.082 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.1287, allocations: 361.1 kB / 0.5705 GB, free: 2.727 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003767/0.1325, allocations: 1.259 MB / 0.5717 GB, free: 1.469 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002798/0.1353, allocations: 1.248 MB / 0.5729 GB, free: 248 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.1994/0.3348, allocations: 2.145 MB / 0.575 GB, free: 32.1 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000891/0.3357, allocations: 0.6093 MB / 0.5756 GB, free: 31.98 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.3374, allocations: 1.169 MB / 0.5768 GB, free: 31.98 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/0.3389, allocations: 1.553 MB / 0.5783 GB, free: 31.98 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002868/0.3392, allocations: 131.6 kB / 0.5784 GB, free: 31.98 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006185/0.3399, allocations: 249.6 kB / 0.5787 GB, free: 31.98 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003422/0.3402, allocations: 0.5288 MB / 0.5792 GB, free: 31.98 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004415/0.3406, allocations: 491.2 kB / 0.5796 GB, free: 31.95 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002101/0.3428, allocations: 2.53 MB / 0.5821 GB, free: 31.72 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.3428, allocations: 0 / 0.5821 GB, free: 31.72 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3428, allocations: 0 / 0.5821 GB, free: 31.72 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.902e-05/0.3428, allocations: 0.875 kB / 0.5821 GB, free: 31.72 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.02015/0.363, allocations: 5.727 MB / 0.5877 GB, free: 30.28 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.363, allocations: 9.656 kB / 0.5877 GB, free: 30.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01447/0.3775, allocations: 2.261 MB / 0.5899 GB, free: 30.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00344/0.381, allocations: 1.555 MB / 0.5914 GB, free: 29.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005827/0.3816, allocations: 0.6909 MB / 0.5921 GB, free: 29.04 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005043/0.3821, allocations: 205.4 kB / 0.5923 GB, free: 29.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005863/0.388, allocations: 3.063 MB / 0.5953 GB, free: 28.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/0.388, allocations: 5.062 kB / 0.5953 GB, free: 28.88 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/0.3883, allocations: 78.03 kB / 0.5954 GB, free: 28.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.74e-05/0.3883, allocations: 50.2 kB / 0.5954 GB, free: 28.87 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005311/0.3937, allocations: 2.868 MB / 0.5982 GB, free: 28.82 MB / 442.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.01524/0.4089, allocations: 10.09 MB / 0.6081 GB, free: 25.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/0.4195, allocations: 4.772 MB / 0.6127 GB, free: 25.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003092/0.4198, allocations: 39.64 kB / 0.6128 GB, free: 25.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.4199, allocations: 59.19 kB / 0.6128 GB, free: 25.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=227): time 3.646e-06/0.4199, allocations: 0 / 0.6128 GB, free: 25.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=227): time 0.1202/0.5401, allocations: 33.75 MB / 0.6458 GB, free: 8.035 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.5402, allocations: 124.8 kB / 0.6459 GB, free: 7.887 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/0.5424, allocations: 1.972 MB / 0.6478 GB, free: 5.895 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005953/0.543, allocations: 69.7 kB / 0.6479 GB, free: 5.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005594/0.5435, allocations: 1.079 MB / 0.649 GB, free: 4.734 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007744/0.5443, allocations: 0.8031 MB / 0.6497 GB, free: 3.938 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.5445, allocations: 58.52 kB / 0.6498 GB, free: 3.883 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.5446, allocations: 416 kB / 0.6502 GB, free: 3.469 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003757/0.5484, allocations: 2.055 MB / 0.6522 GB, free: 1.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004268/0.5527, allocations: 2.405 MB / 0.6546 GB, free: 14.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004924/0.5576, allocations: 2.202 MB / 0.6567 GB, free: 12.69 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/0.5577, allocations: 4 kB / 0.6567 GB, free: 12.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.04422/0.6019, allocations: 14.79 MB / 0.6712 GB, free: 13.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001023/0.6029, allocations: 2.704 MB / 0.6738 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.603, allocations: 8 kB / 0.6738 GB, free: 10.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0203/0.6233, allocations: 6.436 MB / 0.6801 GB, free: 4.465 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/0.6258, allocations: 488.3 kB / 0.6806 GB, free: 3.988 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0658/0.6916, allocations: 26.49 MB / 0.7064 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004259/0.6959, allocations: 0.5286 MB / 0.7069 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003671/0.6963, allocations: 99.97 kB / 0.707 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.6963, allocations: 4 kB / 0.707 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04406/0.7404, allocations: 14.48 MB / 0.7212 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-05/0.7405, allocations: 8 kB / 0.7212 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02132/0.7618, allocations: 6.437 MB / 0.7275 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/0.7644, allocations: 471.3 kB / 0.7279 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06669/0.8311, allocations: 26.49 MB / 0.7538 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004188/0.8353, allocations: 499.6 kB / 0.7543 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004718/0.8358, allocations: 108 kB / 0.7544 GB, free: 8.105 MB / 0.5417 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(flow=false 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (283): * Single equations (assignments): 282 * Array equations: 0 * Algorithm blocks: 0 * 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.001247/0.8371, allocations: 0.5085 MB / 0.7549 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006301/0.8377, allocations: 270.4 kB / 0.7551 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04336/0.8811, allocations: 14.25 MB / 0.769 GB, free: 9.051 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/0.8811, allocations: 24 kB / 0.7691 GB, free: 9.027 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.701e-05/0.8812, allocations: 23.95 kB / 0.7691 GB, free: 9.004 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.392e-05/0.8812, allocations: 11.95 kB / 0.7691 GB, free: 8.992 MB / 0.5573 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.04821/0.9294, allocations: 17.78 MB / 0.7865 GB, free: 7.094 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/0.9295, allocations: 4 kB / 0.7865 GB, free: 7.09 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/0.9311, allocations: 247.8 kB / 0.7867 GB, free: 6.848 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01893/0.95, allocations: 6.079 MB / 0.7926 GB, free: 0.7617 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003859/0.9504, allocations: 47.98 kB / 0.7927 GB, free: 0.7148 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2532/1.204, allocations: 22.67 MB / 0.8148 GB, free: 171.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.204, allocations: 3.375 kB / 0.8148 GB, free: 171.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04413/1.248, allocations: 16.79 MB / 0.8312 GB, free: 168.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008435/1.249, allocations: 377.2 kB / 0.8316 GB, free: 167.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005082/1.249, allocations: 47.72 kB / 0.8316 GB, free: 167.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00276/1.252, allocations: 362.3 kB / 0.832 GB, free: 167.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001766/1.254, allocations: 0.5443 MB / 0.8325 GB, free: 167.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001893/1.254, allocations: 61.2 kB / 0.8326 GB, free: 167.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001715/1.256, allocations: 1.276 MB / 0.8338 GB, free: 167.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.4e-07/1.256, allocations: 0 / 0.8338 GB, free: 167.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005427/1.261, allocations: 1.825 MB / 0.8356 GB, free: 167 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * 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 {(66,7.7%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000378/1.261, allocations: 166.7 kB / 0.8357 GB, free: 166.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0313/1.293, allocations: 12.19 MB / 0.8476 GB, free: 163.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/1.293, allocations: 0 / 0.8476 GB, free: 163.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01277/1.306, allocations: 4.62 MB / 0.8522 GB, free: 161.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/1.307, allocations: 186.8 kB / 0.8523 GB, free: 161.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008578/1.316, allocations: 6.116 MB / 0.8583 GB, free: 156.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/1.317, allocations: 1.789 MB / 0.8601 GB, free: 154.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001405/1.318, allocations: 269.9 kB / 0.8603 GB, free: 154.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004954/1.319, allocations: 142.5 kB / 0.8605 GB, free: 154.4 MB / 0.573 GB Notification: Performance of SimCode: time 7.61e-07/1.319, allocations: 0 / 0.8605 GB, free: 154.4 MB / 0.573 GB Notification: Performance of Templates: time 0.0831/1.402, allocations: 72.61 MB / 0.9314 GB, free: 84.78 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)