Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.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_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009232/0.0009233, allocations: 172.5 kB / 16.08 MB, free: 5.695 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.292/1.292, allocations: 222.8 MB / 239.7 MB, free: 11.93 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.0007933/0.0007932, allocations: 96.02 kB / 290.5 MB, free: 11.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4306/0.4306, allocations: 78.42 MB / 419.6 MB, free: 9.828 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003447, allocations: 15.94 kB / 499.1 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2699, allocations: 68.75 MB / 0.5545 GB, free: 20.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01422/0.2842, allocations: 23.47 MB / 0.5774 GB, free: 12.67 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.2949, allocations: 5.172 MB / 0.5825 GB, free: 7.48 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003419/0.2984, allocations: 52 kB / 0.5825 GB, free: 7.43 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.3003, allocations: 0.6713 MB / 0.5832 GB, free: 6.754 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.005654/0.306, allocations: 1.758 MB / 0.5849 GB, free: 4.988 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004675/0.3107, allocations: 1.918 MB / 0.5868 GB, free: 3.102 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006973/0.3177, allocations: 5.498 MB / 0.5922 GB, free: 13.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.3193, allocations: 1.146 MB / 0.5933 GB, free: 12.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002782/0.3221, allocations: 2.079 MB / 0.5953 GB, free: 10.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002983/0.3251, allocations: 2.725 MB / 0.598 GB, free: 7.551 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005824/0.3257, allocations: 240 kB / 0.5982 GB, free: 7.316 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009738/0.3267, allocations: 375.9 kB / 0.5986 GB, free: 6.949 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007233/0.3274, allocations: 0.9441 MB / 0.5995 GB, free: 6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002049/0.3295, allocations: 2.391 MB / 0.6018 GB, free: 3.594 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005008/0.3345, allocations: 5.892 MB / 0.6076 GB, free: 13.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3345, allocations: 3.938 kB / 0.6076 GB, free: 13.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3345, allocations: 0 / 0.6076 GB, free: 13.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.386e-05/0.3346, allocations: 0 / 0.6076 GB, free: 13.68 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.02557/0.3602, allocations: 8.215 MB / 0.6156 GB, free: 5.371 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.3603, allocations: 8.031 kB / 0.6156 GB, free: 5.363 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02522/0.3855, allocations: 3.997 MB / 0.6195 GB, free: 1.355 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005442/0.391, allocations: 2.694 MB / 0.6221 GB, free: 14.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009192/0.3919, allocations: 0.9572 MB / 0.6231 GB, free: 13.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001015/0.393, allocations: 352 kB / 0.6234 GB, free: 13.14 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009735/0.4027, allocations: 4.747 MB / 0.628 GB, free: 8.367 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.948e-05/0.4028, allocations: 0 / 0.628 GB, free: 8.367 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003685/0.4031, allocations: 144 kB / 0.6282 GB, free: 8.227 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.454e-05/0.4032, allocations: 84 kB / 0.6283 GB, free: 8.145 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008263/0.4115, allocations: 4.259 MB / 0.6324 GB, free: 3.879 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.02983/0.4413, allocations: 18.43 MB / 0.6504 GB, free: 272 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/0.4534, allocations: 5.035 MB / 0.6553 GB, free: 11.15 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005451/0.4589, allocations: 2.794 MB / 0.6581 GB, free: 8.344 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004327/0.4593, allocations: 74.86 kB / 0.6581 GB, free: 8.27 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005947/0.4653, allocations: 3.189 MB / 0.6612 GB, free: 5.039 MB / 474.7 MB Notification: Performance of pre-optimization done (n=385): time 5.691e-06/0.4653, allocations: 0 / 0.6612 GB, free: 5.039 MB / 474.7 MB Notification: Performance of matching and sorting (n=385): time 0.5066/0.9719, allocations: 66.81 MB / 0.7265 GB, free: 83.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.972, allocations: 149.8 kB / 0.7266 GB, free: 83.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003891/0.9759, allocations: 3.258 MB / 0.7298 GB, free: 80.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008574/0.9768, allocations: 94.77 kB / 0.7299 GB, free: 80.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.9779, allocations: 1.983 MB / 0.7318 GB, free: 78.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001737/0.9796, allocations: 1.32 MB / 0.7331 GB, free: 77.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005504/0.9802, allocations: 350.9 kB / 0.7335 GB, free: 76.81 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.139e-05/0.9803, allocations: 305.1 kB / 0.7338 GB, free: 76.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004744/0.985, allocations: 2.62 MB / 0.7363 GB, free: 73.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004914/0.9899, allocations: 3.249 MB / 0.7395 GB, free: 70.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06394/1.054, allocations: 19.13 MB / 0.7582 GB, free: 51.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.01e-05/1.054, allocations: 4 kB / 0.7582 GB, free: 51.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=546) (initialization): time 0.05039/1.104, allocations: 17.24 MB / 0.775 GB, free: 33.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.748e-05/1.104, allocations: 63.41 kB / 0.7751 GB, free: 33.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.764e-05/1.104, allocations: 19.75 kB / 0.7751 GB, free: 33.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02334/1.128, allocations: 7.298 MB / 0.7822 GB, free: 26.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003055/1.131, allocations: 0.6826 MB / 0.7829 GB, free: 25.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07102/1.202, allocations: 31.25 MB / 0.8134 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005633/1.208, allocations: 0.6055 MB / 0.814 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005742/1.208, allocations: 160 kB / 0.8142 GB, free: 9.496 MB / 0.4948 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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (409): * Single equations (assignments): 406 * 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.00174/1.21, allocations: 0.6637 MB / 0.8148 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009329/1.211, allocations: 463.8 kB / 0.8152 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05487/1.266, allocations: 16.89 MB / 0.8317 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-05/1.266, allocations: 19.92 kB / 0.8318 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/1.266, allocations: 7.938 kB / 0.8318 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/1.267, allocations: 0.557 MB / 0.8323 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009536/1.268, allocations: 68 kB / 0.8324 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003817/1.272, allocations: 359.6 kB / 0.8327 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006518/1.279, allocations: 1.847 MB / 0.8345 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02377/1.302, allocations: 8.416 MB / 0.8427 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01701/1.319, allocations: 8.262 MB / 0.8508 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004987/1.324, allocations: 2.284 MB / 0.853 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003114/1.328, allocations: 2.141 MB / 0.8551 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of Backend: time 1.442e-06/1.328, allocations: 0 / 0.8551 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02114/1.349, allocations: 6.889 MB / 0.8619 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of SimCode: time 0.01304/1.362, allocations: 10.86 MB / 0.8725 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of Templates: time 0.3248/1.687, allocations: 78.64 MB / 0.9493 GB, free: 164.2 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)