Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009168/0.0009168, allocations: 174.8 kB / 16.08 MB, free: 5.574 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.35/1.35, allocations: 222.9 MB / 239.7 MB, free: 10.15 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.0007764/0.0007763, allocations: 95.64 kB / 290.5 MB, free: 10.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4488/0.4488, allocations: 78.43 MB / 419.6 MB, free: 9.762 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003453, allocations: 12.22 kB / 499.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2678, allocations: 68.75 MB / 0.5545 GB, free: 20.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01475/0.2825, allocations: 23.33 MB / 0.5773 GB, free: 12.8 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.2936, allocations: 5.118 MB / 0.5823 GB, free: 7.66 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003847/0.2975, allocations: 52 kB / 0.5823 GB, free: 7.609 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002149/0.2996, allocations: 0.6674 MB / 0.583 GB, free: 6.938 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.006144/0.3058, allocations: 1.741 MB / 0.5847 GB, free: 5.191 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.004657/0.3105, allocations: 1.91 MB / 0.5866 GB, free: 3.312 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006368/0.3169, allocations: 5.412 MB / 0.5918 GB, free: 13.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.3187, allocations: 1.142 MB / 0.593 GB, free: 12.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002998/0.3217, allocations: 2.052 MB / 0.595 GB, free: 10.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003654/0.3254, allocations: 2.686 MB / 0.5976 GB, free: 7.922 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.3266, allocations: 232 kB / 0.5978 GB, free: 7.695 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.3284, allocations: 375.8 kB / 0.5982 GB, free: 7.328 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001204/0.3296, allocations: 0.9247 MB / 0.5991 GB, free: 6.398 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002694/0.3323, allocations: 2.367 MB / 0.6014 GB, free: 4.016 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005582/0.3379, allocations: 5.83 MB / 0.6071 GB, free: 14.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3379, allocations: 0 / 0.6071 GB, free: 14.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3379, allocations: 0 / 0.6071 GB, free: 14.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001699/0.3381, allocations: 0 / 0.6071 GB, free: 14.16 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.02631/0.3644, allocations: 8.123 MB / 0.615 GB, free: 5.949 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3645, allocations: 8.031 kB / 0.615 GB, free: 5.941 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02506/0.3895, allocations: 4.001 MB / 0.6189 GB, free: 1.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005083/0.3946, allocations: 2.639 MB / 0.6215 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009008/0.3956, allocations: 0.9689 MB / 0.6224 GB, free: 14.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009737/0.3966, allocations: 351.8 kB / 0.6228 GB, free: 13.76 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009528/0.4061, allocations: 4.727 MB / 0.6274 GB, free: 9.004 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.124e-05/0.4062, allocations: 7.938 kB / 0.6274 GB, free: 8.996 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003916/0.4066, allocations: 136 kB / 0.6275 GB, free: 8.863 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-05/0.4067, allocations: 84 kB / 0.6276 GB, free: 8.781 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009173/0.4158, allocations: 4.244 MB / 0.6318 GB, free: 4.531 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.03406/0.45, allocations: 18.32 MB / 0.6496 GB, free: 1.027 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/0.4622, allocations: 4.999 MB / 0.6545 GB, free: 11.94 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006146/0.4684, allocations: 2.78 MB / 0.6572 GB, free: 9.152 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005954/0.469, allocations: 74.91 kB / 0.6573 GB, free: 9.078 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006779/0.4758, allocations: 3.165 MB / 0.6604 GB, free: 5.871 MB / 474.7 MB Notification: Performance of pre-optimization done (n=383): time 6.543e-06/0.4758, allocations: 3.938 kB / 0.6604 GB, free: 5.867 MB / 474.7 MB Notification: Performance of matching and sorting (n=383): time 0.5131/0.9889, allocations: 68.05 MB / 0.7269 GB, free: 83.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.989, allocations: 141.8 kB / 0.727 GB, free: 83.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003435/0.9924, allocations: 3.209 MB / 0.7301 GB, free: 79.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006787/0.9931, allocations: 85.7 kB / 0.7302 GB, free: 79.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009135/0.9941, allocations: 1.965 MB / 0.7321 GB, free: 78.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001132/0.9952, allocations: 1.322 MB / 0.7334 GB, free: 76.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004458/0.9956, allocations: 342.8 kB / 0.7337 GB, free: 76.58 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.456e-05/0.9957, allocations: 305.1 kB / 0.734 GB, free: 76.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004645/1, allocations: 2.589 MB / 0.7366 GB, free: 73.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004853/1.005, allocations: 3.217 MB / 0.7397 GB, free: 70.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06327/1.068, allocations: 18.79 MB / 0.7581 GB, free: 51.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.594e-05/1.069, allocations: 4 kB / 0.7581 GB, free: 51.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.05056/1.119, allocations: 17.24 MB / 0.7749 GB, free: 33.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.732e-05/1.119, allocations: 67.41 kB / 0.775 GB, free: 33.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/1.119, allocations: 16 kB / 0.775 GB, free: 33.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02313/1.142, allocations: 7.151 MB / 0.782 GB, free: 26.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003025/1.145, allocations: 0.6709 MB / 0.7826 GB, free: 25.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07198/1.217, allocations: 30.73 MB / 0.8126 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005299/1.223, allocations: 0.6016 MB / 0.8132 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005852/1.223, allocations: 152 kB / 0.8134 GB, free: 10.32 MB / 0.4948 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (403): * Single equations (assignments): 400 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001726/1.225, allocations: 0.6716 MB / 0.814 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009046/1.226, allocations: 454.4 kB / 0.8145 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0546/1.281, allocations: 16.85 MB / 0.8309 GB, free: 8.273 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.694e-05/1.281, allocations: 15.94 kB / 0.8309 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/1.281, allocations: 7.984 kB / 0.8309 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/1.282, allocations: 0.5469 MB / 0.8315 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/1.283, allocations: 64 kB / 0.8315 GB, free: 7.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004155/1.287, allocations: 363.5 kB / 0.8319 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007003/1.294, allocations: 1.847 MB / 0.8337 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02514/1.32, allocations: 8.318 MB / 0.8418 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01681/1.336, allocations: 8.194 MB / 0.8498 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004982/1.341, allocations: 2.272 MB / 0.852 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003066/1.345, allocations: 2.101 MB / 0.8541 GB, free: 476 kB / 0.5261 GB Notification: Performance of Backend: time 9.42e-07/1.345, allocations: 4 kB / 0.8541 GB, free: 472 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02157/1.366, allocations: 6.862 MB / 0.8608 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of SimCode: time 0.01499/1.381, allocations: 10.7 MB / 0.8712 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of Templates: time 0.3256/1.707, allocations: 74.97 MB / 0.9444 GB, free: 168.9 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)