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.006729/0.006729, allocations: 169.1 kB / 15.13 MB, free: 6.031 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.411/1.411, allocations: 223.3 MB / 239.1 MB, free: 1.699 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.0007494/0.0007495, allocations: 93.42 kB / 290.3 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4763/0.4763, allocations: 78.62 MB / 420 MB, free: 44.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003788, allocations: 12 kB / 499.9 MB, free: 2.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3502, allocations: 69.35 MB / 0.5559 GB, free: 38.73 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII): time 0.009539/0.3598, allocations: 12.06 MB / 0.5677 GB, free: 32.96 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007322/0.3672, allocations: 3.234 MB / 0.5708 GB, free: 30.62 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002654/0.3699, allocations: 28.62 kB / 0.5709 GB, free: 30.62 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.3712, allocations: 356.9 kB / 0.5712 GB, free: 30.46 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004004/0.3753, allocations: 1.124 MB / 0.5723 GB, free: 29.69 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002849/0.3781, allocations: 1.254 MB / 0.5735 GB, free: 29.04 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003322/0.3814, allocations: 2.974 MB / 0.5764 GB, free: 27.51 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000944/0.3824, allocations: 0.6073 MB / 0.577 GB, free: 27.21 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.3841, allocations: 1.169 MB / 0.5782 GB, free: 26.68 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.3858, allocations: 1.585 MB / 0.5797 GB, free: 25.98 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005026/0.3863, allocations: 138.5 kB / 0.5798 GB, free: 25.97 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000887/0.3872, allocations: 262 kB / 0.5801 GB, free: 25.93 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003363/0.3875, allocations: 0.5365 MB / 0.5806 GB, free: 25.61 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005369/0.3881, allocations: 491 kB / 0.5811 GB, free: 25.32 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002052/0.3901, allocations: 2.666 MB / 0.5837 GB, free: 24.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3902, allocations: 0 / 0.5837 GB, free: 24.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3902, allocations: 0 / 0.5837 GB, free: 24.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.597e-05/0.3902, allocations: 0 / 0.5837 GB, free: 24.46 MB / 426.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.01893/0.4092, allocations: 5.722 MB / 0.5893 GB, free: 22.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.4092, allocations: 12.66 kB / 0.5893 GB, free: 22.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/0.4239, allocations: 2.266 MB / 0.5915 GB, free: 22.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002915/0.4268, allocations: 1.545 MB / 0.593 GB, free: 21.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005172/0.4274, allocations: 0.6921 MB / 0.5937 GB, free: 20.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005093/0.4279, allocations: 204.9 kB / 0.5939 GB, free: 20.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00633/0.4342, allocations: 3.079 MB / 0.5969 GB, free: 19.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.4343, allocations: 3.984 kB / 0.5969 GB, free: 19.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/0.4345, allocations: 79.38 kB / 0.597 GB, free: 19.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.156e-05/0.4346, allocations: 50.27 kB / 0.597 GB, free: 19.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006503/0.4411, allocations: 2.866 MB / 0.5998 GB, free: 18.4 MB / 426.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.01967/0.4608, allocations: 9.775 MB / 0.6094 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/0.4728, allocations: 4.775 MB / 0.614 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004514/0.4774, allocations: 2.083 MB / 0.616 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003022/0.4777, allocations: 42.38 kB / 0.6161 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.4777, allocations: 58.03 kB / 0.6161 GB, free: 10.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=227): time 4.018e-06/0.4778, allocations: 3.938 kB / 0.6161 GB, free: 10.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=227): time 0.125/0.6027, allocations: 33.7 MB / 0.6491 GB, free: 10.29 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.423e-05/0.6028, allocations: 128.8 kB / 0.6492 GB, free: 10.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002688/0.6055, allocations: 1.965 MB / 0.6511 GB, free: 8.156 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006039/0.6062, allocations: 69.7 kB / 0.6512 GB, free: 8.082 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008203/0.607, allocations: 1.081 MB / 0.6522 GB, free: 6.988 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009695/0.608, allocations: 0.8048 MB / 0.653 GB, free: 6.172 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.6082, allocations: 60 kB / 0.6531 GB, free: 6.113 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.6084, allocations: 416 kB / 0.6535 GB, free: 5.699 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004329/0.6127, allocations: 2.052 MB / 0.6555 GB, free: 3.645 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0045/0.6172, allocations: 2.421 MB / 0.6578 GB, free: 1.125 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004531/0.6218, allocations: 2.212 MB / 0.66 GB, free: 14.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.6218, allocations: 0 / 0.66 GB, free: 14.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.04523/0.667, allocations: 14.79 MB / 0.6744 GB, free: 48 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002327/0.6673, allocations: 299.3 kB / 0.6747 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.6674, allocations: 8 kB / 0.6747 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02104/0.6884, allocations: 6.438 MB / 0.681 GB, free: 9.203 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002602/0.6911, allocations: 483.3 kB / 0.6815 GB, free: 8.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06707/0.7582, allocations: 25.16 MB / 0.706 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004554/0.7628, allocations: 0.5286 MB / 0.7066 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006687/0.7635, allocations: 104 kB / 0.7067 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.7635, allocations: 4 kB / 0.7067 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04671/0.8102, allocations: 14.48 MB / 0.7208 GB, free: 260 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-05/0.8103, allocations: 4 kB / 0.7208 GB, free: 256 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0214/0.8317, allocations: 6.438 MB / 0.7271 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002564/0.8343, allocations: 467.3 kB / 0.7275 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0669/0.9012, allocations: 25.15 MB / 0.7521 GB, free: 40 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004495/0.9058, allocations: 0.4901 MB / 0.7526 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007308/0.9065, allocations: 111.9 kB / 0.7527 GB, free: 15.43 MB / 0.5573 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.002147/0.9087, allocations: 0.4941 MB / 0.7532 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001609/0.9103, allocations: 276.4 kB / 0.7534 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04587/0.9562, allocations: 14.25 MB / 0.7674 GB, free: 388 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/0.9563, allocations: 24 kB / 0.7674 GB, free: 364 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.774e-05/0.9563, allocations: 16 kB / 0.7674 GB, free: 348 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.889e-05/0.9564, allocations: 11.95 kB / 0.7674 GB, free: 336 kB / 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.2772/1.234, allocations: 17.78 MB / 0.7848 GB, free: 159.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.06e-05/1.234, allocations: 6.562 kB / 0.7848 GB, free: 159.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/1.235, allocations: 247.3 kB / 0.785 GB, free: 159.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01761/1.253, allocations: 6.088 MB / 0.791 GB, free: 159.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006714/1.254, allocations: 41.28 kB / 0.791 GB, free: 159.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05829/1.312, allocations: 21.38 MB / 0.8119 GB, free: 152.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.312, allocations: 0 / 0.8119 GB, free: 152.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04586/1.358, allocations: 16.72 MB / 0.8282 GB, free: 145.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/1.359, allocations: 374.2 kB / 0.8286 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00108/1.36, allocations: 40 kB / 0.8286 GB, free: 145 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003334/1.363, allocations: 364.7 kB / 0.829 GB, free: 144.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002251/1.366, allocations: 0.546 MB / 0.8295 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004941/1.366, allocations: 55.42 kB / 0.8295 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001837/1.368, allocations: 1.271 MB / 0.8308 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.368, allocations: 0 / 0.8308 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006318/1.374, allocations: 1.827 MB / 0.8326 GB, free: 141.6 MB / 0.5573 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.0005823/1.375, allocations: 174.4 kB / 0.8327 GB, free: 141.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03196/1.407, allocations: 12.19 MB / 0.8446 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.407, allocations: 0 / 0.8446 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0132/1.42, allocations: 4.619 MB / 0.8492 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/1.423, allocations: 217.3 kB / 0.8494 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009234/1.432, allocations: 5.928 MB / 0.8551 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/1.433, allocations: 1.73 MB / 0.8568 GB, free: 119 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001734/1.435, allocations: 272.7 kB / 0.8571 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005723/1.436, allocations: 151.3 kB / 0.8572 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of SimCode: time 3.81e-07/1.436, allocations: 0 / 0.8572 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.08805/1.524, allocations: 72.69 MB / 0.9282 GB, free: 45.87 MB / 0.5573 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)