Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009508/0.0009508, allocations: 175.2 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.301/1.301, allocations: 222.9 MB / 239.7 MB, free: 10.18 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.0007881/0.0007882, allocations: 105.2 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.4301/0.4301, allocations: 78.43 MB / 419.6 MB, free: 9.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003451, allocations: 12 kB / 499.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2512, allocations: 68.75 MB / 0.5545 GB, free: 20.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI): time 0.01395/0.2652, allocations: 23.11 MB / 0.5771 GB, free: 13.04 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.2753, allocations: 5.137 MB / 0.5821 GB, free: 7.883 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003775/0.2791, allocations: 52 kB / 0.5822 GB, free: 7.832 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.2816, allocations: 0.6752 MB / 0.5828 GB, free: 7.152 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.005686/0.2873, allocations: 1.72 MB / 0.5845 GB, free: 5.426 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004416/0.2917, allocations: 1.931 MB / 0.5864 GB, free: 3.527 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006193/0.2979, allocations: 5.388 MB / 0.5916 GB, free: 14.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001773/0.2997, allocations: 1.122 MB / 0.5927 GB, free: 12.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.3025, allocations: 2.033 MB / 0.5947 GB, free: 10.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003381/0.3059, allocations: 2.682 MB / 0.5973 GB, free: 8.203 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00064/0.3065, allocations: 232 kB / 0.5976 GB, free: 7.977 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.3076, allocations: 375.8 kB / 0.5979 GB, free: 7.609 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007355/0.3083, allocations: 0.9286 MB / 0.5988 GB, free: 6.676 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002086/0.3104, allocations: 2.356 MB / 0.6011 GB, free: 4.305 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005005/0.3154, allocations: 5.81 MB / 0.6068 GB, free: 14.47 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3154, allocations: 4 kB / 0.6068 GB, free: 14.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3154, allocations: 0 / 0.6068 GB, free: 14.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001028/0.3156, allocations: 0 / 0.6068 GB, free: 14.47 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: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.02484/0.3404, allocations: 8.108 MB / 0.6147 GB, free: 6.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3405, allocations: 15.97 kB / 0.6147 GB, free: 6.254 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02479/0.3653, allocations: 3.997 MB / 0.6186 GB, free: 2.246 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004903/0.3702, allocations: 2.639 MB / 0.6212 GB, free: 15.53 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009132/0.3711, allocations: 0.9359 MB / 0.6221 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008285/0.372, allocations: 347.9 kB / 0.6225 GB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009979/0.382, allocations: 4.727 MB / 0.6271 GB, free: 9.359 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.216e-05/0.3821, allocations: 7.875 kB / 0.6271 GB, free: 9.352 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000371/0.3824, allocations: 140 kB / 0.6272 GB, free: 9.215 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.966e-05/0.3825, allocations: 91.98 kB / 0.6273 GB, free: 9.125 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008821/0.3913, allocations: 4.251 MB / 0.6315 GB, free: 4.867 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.03218/0.4235, allocations: 18.35 MB / 0.6494 GB, free: 1.312 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01235/0.4359, allocations: 4.955 MB / 0.6542 GB, free: 12.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006712/0.4427, allocations: 2.786 MB / 0.6569 GB, free: 9.477 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005168/0.4432, allocations: 70.89 kB / 0.657 GB, free: 9.406 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.571e-05/0.4433, allocations: 81.52 kB / 0.6571 GB, free: 9.316 MB / 474.7 MB Notification: Performance of pre-optimization done (n=379): time 6.161e-06/0.4433, allocations: 0 / 0.6571 GB, free: 9.316 MB / 474.7 MB Notification: Performance of matching and sorting (n=379): time 0.5061/0.9494, allocations: 66.79 MB / 0.7223 GB, free: 88.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.9495, allocations: 167.5 kB / 0.7225 GB, free: 87.81 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003457/0.953, allocations: 3.213 MB / 0.7256 GB, free: 84.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005907/0.9536, allocations: 89.7 kB / 0.7257 GB, free: 84.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009137/0.9545, allocations: 1.951 MB / 0.7276 GB, free: 82.87 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001054/0.9556, allocations: 1.303 MB / 0.7289 GB, free: 81.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004232/0.956, allocations: 330.5 kB / 0.7292 GB, free: 81.24 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.566e-05/0.9561, allocations: 301.1 kB / 0.7295 GB, free: 80.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004701/0.9608, allocations: 2.574 MB / 0.732 GB, free: 78.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004936/0.9657, allocations: 3.208 MB / 0.7351 GB, free: 74.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06358/1.029, allocations: 18.73 MB / 0.7534 GB, free: 55.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-05/1.029, allocations: 4 kB / 0.7534 GB, free: 55.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=524) (initialization): time 0.04849/1.078, allocations: 16.9 MB / 0.7699 GB, free: 38.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002553/1.078, allocations: 0.5856 MB / 0.7705 GB, free: 38.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/1.078, allocations: 16 kB / 0.7705 GB, free: 38.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02242/1.101, allocations: 7.228 MB / 0.7776 GB, free: 30.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002718/1.103, allocations: 0.6397 MB / 0.7782 GB, free: 30.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06696/1.17, allocations: 31.14 MB / 0.8086 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004804/1.175, allocations: 0.5822 MB / 0.8092 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003503/1.176, allocations: 152 kB / 0.8093 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.757e-06/1.176, allocations: 4 kB / 0.8093 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0531/1.229, allocations: 16.47 MB / 0.8254 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-05/1.229, allocations: 16 kB / 0.8254 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.025/1.254, allocations: 7.227 MB / 0.8325 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002867/1.257, allocations: 0.6378 MB / 0.8331 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07801/1.335, allocations: 31.15 MB / 0.8635 GB, free: 6.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005123/1.34, allocations: 0.5514 MB / 0.8641 GB, free: 6.023 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004638/1.34, allocations: 148 kB / 0.8642 GB, free: 5.879 MB / 0.5417 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 (388): * Single equations (assignments): 385 * 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,45)} Notification: Performance of prepare postOptimizeDAE: time 0.001716/1.342, allocations: 0.7387 MB / 0.8649 GB, free: 5.125 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008166/1.343, allocations: 454.4 kB / 0.8654 GB, free: 4.676 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05323/1.396, allocations: 16.72 MB / 0.8817 GB, free: 3.883 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.847e-05/1.396, allocations: 15.94 kB / 0.8817 GB, free: 3.867 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/1.396, allocations: 3.938 kB / 0.8817 GB, free: 3.863 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/1.397, allocations: 0.5493 MB / 0.8822 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000919/1.398, allocations: 68 kB / 0.8823 GB, free: 3.223 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003834/1.402, allocations: 351.6 kB / 0.8826 GB, free: 2.879 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00634/1.409, allocations: 1.835 MB / 0.8844 GB, free: 1.039 MB / 0.5573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02306/1.432, allocations: 8.131 MB / 0.8924 GB, free: 8.953 MB / 0.573 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.2447/1.676, allocations: 8.179 MB / 0.9004 GB, free: 185.2 MB / 0.573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005003/1.681, allocations: 2.279 MB / 0.9026 GB, free: 185.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003025/1.684, allocations: 2.101 MB / 0.9046 GB, free: 184.9 MB / 0.573 GB Notification: Performance of Backend: time 6.71e-07/1.684, allocations: 0 / 0.9046 GB, free: 184.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0394/1.724, allocations: 13.24 MB / 0.9176 GB, free: 181.8 MB / 0.573 GB Notification: Performance of SimCode: time 0.01131/1.735, allocations: 10.63 MB / 0.9279 GB, free: 175.6 MB / 0.573 GB Notification: Performance of Templates: time 0.1373/1.872, allocations: 116.8 MB / 1.042 GB, free: 72.99 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)