Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.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.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009141/0.0009139, allocations: 175.4 kB / 16.08 MB, free: 5.723 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.33/1.33, allocations: 222.9 MB / 239.7 MB, free: 10.19 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007939/0.000794, allocations: 99.86 kB / 290.5 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4117/0.4117, allocations: 78.43 MB / 419.6 MB, free: 9.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003302, allocations: 11.94 kB / 499.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2678, allocations: 68.76 MB / 0.5545 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI): time 0.01473/0.2826, allocations: 23.34 MB / 0.5773 GB, free: 12.8 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.2936, allocations: 5.207 MB / 0.5824 GB, free: 7.578 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004616/0.2983, allocations: 52 kB / 0.5824 GB, free: 7.527 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003072/0.3014, allocations: 0.6752 MB / 0.5831 GB, free: 6.848 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr16.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr67.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr78.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr89.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr49.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr528.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr2829.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr2930.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr3031.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr231.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.007357/0.3088, allocations: 1.751 MB / 0.5848 GB, free: 5.094 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005449/0.3142, allocations: 1.94 MB / 0.5867 GB, free: 3.184 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008197/0.3224, allocations: 5.471 MB / 0.592 GB, free: 13.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002624/0.3251, allocations: 1.13 MB / 0.5932 GB, free: 12.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003665/0.3288, allocations: 2.068 MB / 0.5952 GB, free: 10.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004193/0.333, allocations: 2.713 MB / 0.5978 GB, free: 7.699 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001925/0.335, allocations: 240 kB / 0.5981 GB, free: 7.465 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/0.3372, allocations: 375.9 kB / 0.5984 GB, free: 7.098 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001795/0.3391, allocations: 0.9441 MB / 0.5993 GB, free: 6.148 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004066/0.3432, allocations: 2.383 MB / 0.6017 GB, free: 3.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007503/0.3507, allocations: 5.888 MB / 0.6074 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3507, allocations: 4 kB / 0.6074 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.931e-06/0.3507, allocations: 0 / 0.6074 GB, free: 13.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002337/0.351, allocations: 3.938 kB / 0.6074 GB, free: 13.83 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.02629/0.3773, allocations: 8.186 MB / 0.6154 GB, free: 5.555 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.3773, allocations: 8.031 kB / 0.6154 GB, free: 5.547 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02593/0.4033, allocations: 4.001 MB / 0.6193 GB, free: 1.535 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005446/0.4088, allocations: 2.682 MB / 0.6219 GB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009017/0.4097, allocations: 0.9398 MB / 0.6229 GB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009187/0.4106, allocations: 351.8 kB / 0.6232 GB, free: 13.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009644/0.4203, allocations: 4.755 MB / 0.6278 GB, free: 8.566 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.889e-05/0.4204, allocations: 3.984 kB / 0.6278 GB, free: 8.562 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003574/0.4208, allocations: 144 kB / 0.628 GB, free: 8.422 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-05/0.4208, allocations: 84 kB / 0.6281 GB, free: 8.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009029/0.4299, allocations: 4.271 MB / 0.6322 GB, free: 4.062 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.03351/0.4634, allocations: 18.46 MB / 0.6503 GB, free: 412 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/0.4753, allocations: 5 MB / 0.6551 GB, free: 11.31 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005505/0.4809, allocations: 2.81 MB / 0.6579 GB, free: 8.496 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004444/0.4813, allocations: 70.84 kB / 0.658 GB, free: 8.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.408e-05/0.4814, allocations: 77.5 kB / 0.658 GB, free: 8.344 MB / 474.7 MB Notification: Performance of pre-optimization done (n=382): time 6.682e-06/0.4814, allocations: 0 / 0.658 GB, free: 8.344 MB / 474.7 MB Notification: Performance of matching and sorting (n=382): time 0.5224/1.004, allocations: 67.22 MB / 0.7237 GB, free: 86.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/1.004, allocations: 171.5 kB / 0.7238 GB, free: 86.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003603/1.008, allocations: 3.254 MB / 0.727 GB, free: 83.08 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007687/1.008, allocations: 97.7 kB / 0.7271 GB, free: 82.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009527/1.009, allocations: 1.977 MB / 0.729 GB, free: 81.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001351/1.011, allocations: 1.315 MB / 0.7303 GB, free: 80.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004592/1.011, allocations: 342.7 kB / 0.7307 GB, free: 79.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.724e-05/1.011, allocations: 305.1 kB / 0.7309 GB, free: 79.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004815/1.016, allocations: 2.604 MB / 0.7335 GB, free: 76.76 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005254/1.021, allocations: 3.249 MB / 0.7367 GB, free: 73.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0663/1.088, allocations: 19.11 MB / 0.7553 GB, free: 53.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.648e-05/1.088, allocations: 4 kB / 0.7553 GB, free: 53.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.05111/1.139, allocations: 17.18 MB / 0.7721 GB, free: 36.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002401/1.139, allocations: 0.5901 MB / 0.7727 GB, free: 35.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/1.139, allocations: 16 kB / 0.7727 GB, free: 35.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02421/1.163, allocations: 7.295 MB / 0.7798 GB, free: 28.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003042/1.166, allocations: 0.6592 MB / 0.7805 GB, free: 27.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07208/1.238, allocations: 31.28 MB / 0.811 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005375/1.244, allocations: 0.59 MB / 0.8116 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006412/1.245, allocations: 156 kB / 0.8117 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/1.245, allocations: 4 kB / 0.8117 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05531/1.3, allocations: 16.75 MB / 0.8281 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.898e-05/1.3, allocations: 16 kB / 0.8281 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02655/1.326, allocations: 7.294 MB / 0.8352 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003316/1.33, allocations: 0.6553 MB / 0.8359 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0782/1.408, allocations: 31.29 MB / 0.8664 GB, free: 3.531 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005271/1.413, allocations: 0.5553 MB / 0.867 GB, free: 2.973 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005515/1.414, allocations: 148 kB / 0.8671 GB, free: 2.828 MB / 0.5417 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (399): * Single equations (assignments): 396 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.001759/1.416, allocations: 0.7489 MB / 0.8678 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008483/1.417, allocations: 458.3 kB / 0.8683 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05311/1.47, allocations: 16.77 MB / 0.8846 GB, free: 0.7734 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001/1.47, allocations: 19.94 kB / 0.8847 GB, free: 0.7539 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/1.47, allocations: 3.984 kB / 0.8847 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/1.471, allocations: 0.557 MB / 0.8852 GB, free: 172 kB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009594/1.472, allocations: 69.42 kB / 0.8853 GB, free: 104 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003839/1.476, allocations: 355.6 kB / 0.8856 GB, free: 15.75 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006376/1.482, allocations: 1.835 MB / 0.8874 GB, free: 13.91 MB / 0.573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02454/1.507, allocations: 8.227 MB / 0.8954 GB, free: 5.73 MB / 0.573 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.2524/1.759, allocations: 8.263 MB / 0.9035 GB, free: 184.6 MB / 0.573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005349/1.765, allocations: 2.297 MB / 0.9058 GB, free: 184.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003188/1.768, allocations: 2.139 MB / 0.9078 GB, free: 184.4 MB / 0.573 GB Notification: Performance of Backend: time 8.02e-07/1.768, allocations: 0 / 0.9078 GB, free: 184.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03684/1.805, allocations: 13.4 MB / 0.9209 GB, free: 180.2 MB / 0.573 GB Notification: Performance of SimCode: time 0.01075/1.816, allocations: 10.85 MB / 0.9315 GB, free: 173.9 MB / 0.573 GB Notification: Performance of Templates: time 0.1332/1.949, allocations: 118.6 MB / 1.047 GB, free: 67.73 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)