Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007432/0.007432, allocations: 167.8 kB / 15.13 MB, free: 6.023 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.42/1.42, allocations: 223.3 MB / 239.1 MB, free: 1.684 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.000857/0.000857, allocations: 103.7 kB / 290.3 MB, free: 13.87 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4871/0.4871, allocations: 78.61 MB / 420 MB, free: 44.15 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004075, allocations: 12 kB / 499.9 MB, free: 2.922 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3835, allocations: 69.35 MB / 0.5559 GB, free: 38.75 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII): time 0.01003/0.3935, allocations: 12.27 MB / 0.5679 GB, free: 32.87 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007625/0.4012, allocations: 3.298 MB / 0.5711 GB, free: 30.48 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004844/0.4061, allocations: 32.91 kB / 0.5711 GB, free: 30.47 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.4081, allocations: 355 kB / 0.5715 GB, free: 30.32 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006065/0.4142, allocations: 1.141 MB / 0.5726 GB, free: 29.54 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003489/0.4177, allocations: 1.273 MB / 0.5738 GB, free: 28.88 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004969/0.4227, allocations: 3.044 MB / 0.5768 GB, free: 27.31 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.4242, allocations: 0.616 MB / 0.5774 GB, free: 27 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002226/0.4264, allocations: 1.193 MB / 0.5786 GB, free: 26.46 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002547/0.429, allocations: 1.629 MB / 0.5802 GB, free: 25.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001222/0.4302, allocations: 145.5 kB / 0.5803 GB, free: 25.75 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00214/0.4324, allocations: 264.7 kB / 0.5805 GB, free: 25.71 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.4334, allocations: 0.5551 MB / 0.5811 GB, free: 25.38 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.4346, allocations: 495 kB / 0.5816 GB, free: 25.09 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002819/0.4374, allocations: 2.71 MB / 0.5842 GB, free: 24.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4375, allocations: 0 / 0.5842 GB, free: 24.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4375, allocations: 0 / 0.5842 GB, free: 24.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.934e-05/0.4375, allocations: 0 / 0.5842 GB, free: 24.23 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.02023/0.4578, allocations: 5.831 MB / 0.5899 GB, free: 22.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.4578, allocations: 8.062 kB / 0.5899 GB, free: 22.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01477/0.4726, allocations: 2.267 MB / 0.5921 GB, free: 21.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00321/0.4759, allocations: 1.591 MB / 0.5937 GB, free: 20.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005751/0.4765, allocations: 0.6947 MB / 0.5944 GB, free: 20.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004022/0.4769, allocations: 208.7 kB / 0.5946 GB, free: 20.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006243/0.4831, allocations: 3.103 MB / 0.5976 GB, free: 19.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.4832, allocations: 0 / 0.5976 GB, free: 19.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/0.4834, allocations: 75.56 kB / 0.5977 GB, free: 19.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.046e-05/0.4835, allocations: 49.55 kB / 0.5977 GB, free: 19.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006139/0.4896, allocations: 2.884 MB / 0.6005 GB, free: 18.11 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.02056/0.5102, allocations: 9.901 MB / 0.6102 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01325/0.5235, allocations: 4.812 MB / 0.6149 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004996/0.5285, allocations: 2.101 MB / 0.6169 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005005/0.5291, allocations: 43.22 kB / 0.617 GB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.938e-05/0.5292, allocations: 56.47 kB / 0.617 GB, free: 10.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=230): time 4.318e-06/0.5292, allocations: 0 / 0.617 GB, free: 10.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=230): time 0.1228/0.6519, allocations: 32.28 MB / 0.6486 GB, free: 10.79 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/0.6521, allocations: 128.8 kB / 0.6487 GB, free: 10.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003154/0.6552, allocations: 2.017 MB / 0.6506 GB, free: 8.605 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007769/0.656, allocations: 65.7 kB / 0.6507 GB, free: 8.535 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008447/0.6569, allocations: 1.092 MB / 0.6518 GB, free: 7.43 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001082/0.658, allocations: 0.8125 MB / 0.6526 GB, free: 6.605 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.6582, allocations: 60 kB / 0.6526 GB, free: 6.547 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.6584, allocations: 420.2 kB / 0.653 GB, free: 6.129 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004377/0.6628, allocations: 2.099 MB / 0.6551 GB, free: 4.027 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00455/0.6673, allocations: 2.457 MB / 0.6575 GB, free: 1.473 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00463/0.672, allocations: 2.245 MB / 0.6597 GB, free: 15.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.672, allocations: 8 kB / 0.6597 GB, free: 15.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=385) (initialization): time 0.04339/0.7154, allocations: 14.97 MB / 0.6743 GB, free: 184 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002304/0.7157, allocations: 300.6 kB / 0.6746 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.7157, allocations: 4 kB / 0.6746 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02114/0.7368, allocations: 6.492 MB / 0.6809 GB, free: 9.285 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/0.7396, allocations: 491.3 kB / 0.6814 GB, free: 8.805 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06403/0.8036, allocations: 26.55 MB / 0.7073 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004459/0.8081, allocations: 0.5402 MB / 0.7079 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004091/0.8085, allocations: 104 kB / 0.708 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.8086, allocations: 5.406 kB / 0.708 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0449/0.8535, allocations: 14.64 MB / 0.7223 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.166e-05/0.8536, allocations: 8 kB / 0.7223 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02131/0.8749, allocations: 6.484 MB / 0.7286 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002824/0.8778, allocations: 475.3 kB / 0.729 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06902/0.9468, allocations: 26.55 MB / 0.755 GB, free: 12.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004603/0.9515, allocations: 0.4938 MB / 0.7555 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005704/0.9521, allocations: 107.9 kB / 0.7556 GB, free: 12.23 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 Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.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 (294): * Single equations (assignments): 292 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.00155/0.9536, allocations: 0.5064 MB / 0.756 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007729/0.9544, allocations: 272.6 kB / 0.7563 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2813/1.236, allocations: 14.3 MB / 0.7703 GB, free: 160.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.248e-05/1.236, allocations: 21.78 kB / 0.7703 GB, free: 160.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.766e-05/1.236, allocations: 21.02 kB / 0.7703 GB, free: 160.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.89e-05/1.236, allocations: 15.75 kB / 0.7703 GB, free: 160.4 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.05824/1.294, allocations: 17.88 MB / 0.7878 GB, free: 159.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-05/1.294, allocations: 2.875 kB / 0.7878 GB, free: 159.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001936/1.296, allocations: 252.5 kB / 0.788 GB, free: 159.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02508/1.321, allocations: 6.021 MB / 0.7939 GB, free: 159.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008694/1.322, allocations: 48.36 kB / 0.794 GB, free: 159.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.053/1.375, allocations: 21.4 MB / 0.8149 GB, free: 152.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.375, allocations: 0 / 0.8149 GB, free: 152.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04487/1.42, allocations: 16.8 MB / 0.8313 GB, free: 143.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008047/1.421, allocations: 386.1 kB / 0.8316 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005627/1.422, allocations: 42.62 kB / 0.8317 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002776/1.424, allocations: 366 kB / 0.832 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001703/1.426, allocations: 0.5494 MB / 0.8326 GB, free: 142.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/1.426, allocations: 52 kB / 0.8326 GB, free: 142.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001495/1.428, allocations: 1.315 MB / 0.8339 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.383e-06/1.428, allocations: 0 / 0.8339 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004334/1.432, allocations: 1.872 MB / 0.8357 GB, free: 139.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 (149): * Single equations (assignments): 148 * 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 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003609/1.433, allocations: 173 kB / 0.8359 GB, free: 139.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03243/1.465, allocations: 12.57 MB / 0.8482 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/1.465, allocations: 0 / 0.8482 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01309/1.478, allocations: 4.6 MB / 0.8527 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/1.481, allocations: 219.5 kB / 0.8529 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008336/1.49, allocations: 6.227 MB / 0.859 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008496/1.49, allocations: 1.741 MB / 0.8607 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001375/1.492, allocations: 272.8 kB / 0.8609 GB, free: 114 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005066/1.492, allocations: 151.4 kB / 0.8611 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/1.492, allocations: 0 / 0.8611 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.08627/1.579, allocations: 73.86 MB / 0.9332 GB, free: 40.03 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)