Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001408, allocations: 119.1 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.1 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 184.5 kB / 290.4 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4442/0.4442, allocations: 78.53 MB / 419.1 MB, free: 3.148 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 83.88 kB / 0.5543 GB, free: 1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3473, allocations: 68.17 MB / 0.6209 GB, free: 9.695 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI): time 0.005621/0.353, allocations: 6.369 MB / 0.6271 GB, free: 3.848 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003615/0.3566, allocations: 1.978 MB / 0.629 GB, free: 1.863 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005488/0.3572, allocations: 12 kB / 0.629 GB, free: 1.852 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006494/0.3579, allocations: 245.9 kB / 0.6293 GB, free: 1.609 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.3596, allocations: 0.8383 MB / 0.6301 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.3606, allocations: 0.6397 MB / 0.6307 GB, free: 144 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.3621, allocations: 1.546 MB / 0.6322 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00043/0.3626, allocations: 322.2 kB / 0.6325 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007662/0.3633, allocations: 0.6341 MB / 0.6332 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008535/0.3642, allocations: 0.8206 MB / 0.634 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.3644, allocations: 120 kB / 0.6341 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004867/0.3649, allocations: 255.9 kB / 0.6343 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.3652, allocations: 322.7 kB / 0.6346 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005206/0.3657, allocations: 0.668 MB / 0.6353 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.3672, allocations: 1.636 MB / 0.6369 GB, free: 9.809 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3673, allocations: 0 / 0.6369 GB, free: 9.809 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3673, allocations: 0 / 0.6369 GB, free: 9.809 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.97e-05/0.3673, allocations: 4 kB / 0.6369 GB, free: 9.805 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.008706/0.376, allocations: 2.664 MB / 0.6395 GB, free: 7.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3761, allocations: 12.03 kB / 0.6395 GB, free: 7.059 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005166/0.3812, allocations: 0.7749 MB / 0.6403 GB, free: 6.281 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.3828, allocations: 0.8825 MB / 0.6411 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002523/0.383, allocations: 234.4 kB / 0.6413 GB, free: 5.082 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.3832, allocations: 83.91 kB / 0.6414 GB, free: 5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/0.3854, allocations: 1.091 MB / 0.6425 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.3854, allocations: 0 / 0.6425 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.956e-05/0.3855, allocations: 32 kB / 0.6425 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.3856, allocations: 16 kB / 0.6425 GB, free: 3.848 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.3876, allocations: 1.007 MB / 0.6435 GB, free: 2.84 MB / 446.1 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.006413/0.3941, allocations: 3.827 MB / 0.6473 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00751/0.4016, allocations: 2.339 MB / 0.6495 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.4031, allocations: 0.6853 MB / 0.6502 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-05/0.4032, allocations: 12.98 kB / 0.6502 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.4032, allocations: 51.56 kB / 0.6503 GB, free: 11.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=92): time 3.256e-06/0.4032, allocations: 3.938 kB / 0.6503 GB, free: 11.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=92): time 0.02792/0.4312, allocations: 6.876 MB / 0.657 GB, free: 4.703 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.4313, allocations: 145.5 kB / 0.6571 GB, free: 4.531 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.4331, allocations: 1.079 MB / 0.6582 GB, free: 3.438 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001759/0.4332, allocations: 45.7 kB / 0.6582 GB, free: 3.387 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/0.4336, allocations: 0.4929 MB / 0.6587 GB, free: 2.887 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003928/0.434, allocations: 335.3 kB / 0.659 GB, free: 2.555 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005418/0.4346, allocations: 267.4 kB / 0.6593 GB, free: 2.289 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.4347, allocations: 301.1 kB / 0.6596 GB, free: 1.992 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/0.4363, allocations: 0.7621 MB / 0.6603 GB, free: 1.227 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.4381, allocations: 0.9227 MB / 0.6612 GB, free: 264 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02367/0.4617, allocations: 5.524 MB / 0.6666 GB, free: 10.65 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.4618, allocations: 0 / 0.6666 GB, free: 10.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01412/0.4759, allocations: 4.336 MB / 0.6708 GB, free: 6.281 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.787e-05/0.476, allocations: 55.41 kB / 0.6709 GB, free: 6.215 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.476, allocations: 7.984 kB / 0.6709 GB, free: 6.207 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005921/0.482, allocations: 1.588 MB / 0.6725 GB, free: 4.617 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.4833, allocations: 267.6 kB / 0.6727 GB, free: 4.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02062/0.504, allocations: 8.51 MB / 0.681 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.5058, allocations: 182.8 kB / 0.6812 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/0.506, allocations: 55.97 kB / 0.6812 GB, free: 11.45 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002106/0.5082, allocations: 0.9458 MB / 0.6822 GB, free: 10.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00173/0.5099, allocations: 0.911 MB / 0.6831 GB, free: 9.547 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02337/0.5333, allocations: 5.489 MB / 0.6884 GB, free: 3.969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.778e-06/0.5333, allocations: 3.938 kB / 0.6884 GB, free: 3.965 MB / 494.1 MB Notification: Performance of matching and sorting (n=182) (initialization_lambda0): time 0.01409/0.5474, allocations: 4.3 MB / 0.6926 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.237e-05/0.5475, allocations: 67.39 kB / 0.6927 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.5476, allocations: 7.938 kB / 0.6927 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005976/0.5535, allocations: 1.586 MB / 0.6942 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.5549, allocations: 255.6 kB / 0.6945 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02098/0.5759, allocations: 8.506 MB / 0.7028 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/0.5778, allocations: 174.9 kB / 0.703 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002407/0.5781, allocations: 59.91 kB / 0.703 GB, free: 4.82 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: order3.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 order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005314/0.5786, allocations: 278.6 kB / 0.7033 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000372/0.579, allocations: 122.4 kB / 0.7034 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/0.5921, allocations: 3.763 MB / 0.7071 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-05/0.5921, allocations: 3.984 kB / 0.7071 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5921, allocations: 4 kB / 0.7071 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005134/0.5927, allocations: 223.2 kB / 0.7073 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003773/0.593, allocations: 20 kB / 0.7073 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/0.5944, allocations: 103.9 kB / 0.7074 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001024/0.5955, allocations: 416.4 kB / 0.7078 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006133/0.6016, allocations: 2.135 MB / 0.7099 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00458/0.6062, allocations: 2.265 MB / 0.7121 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001408/0.6076, allocations: 0.5661 MB / 0.7127 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00154/0.6092, allocations: 0.7313 MB / 0.7134 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of Backend: time 5.31e-07/0.6092, allocations: 0 / 0.7134 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01189/0.6211, allocations: 3.923 MB / 0.7172 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of SimCode: time 0.004366/0.6255, allocations: 2.83 MB / 0.72 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of Templates: time 0.05485/0.6804, allocations: 33.06 MB / 0.7522 GB, free: 2.156 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)