Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000921/0.0009209, allocations: 174.3 kB / 16.08 MB, free: 5.602 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.271/1.271, allocations: 222.9 MB / 239.7 MB, free: 10.21 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.0007634/0.0007635, allocations: 95.72 kB / 290.5 MB, free: 11.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4184/0.4184, allocations: 78.43 MB / 419.6 MB, free: 9.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003509, allocations: 16.45 kB / 499.1 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2401, allocations: 68.74 MB / 0.5545 GB, free: 20.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI): time 0.01346/0.2536, allocations: 23.21 MB / 0.5772 GB, free: 12.94 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.009561/0.2632, allocations: 5.137 MB / 0.5822 GB, free: 7.785 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003211/0.2664, allocations: 55.94 kB / 0.5822 GB, free: 7.73 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.2682, allocations: 0.6713 MB / 0.5829 GB, free: 7.055 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.005493/0.2738, allocations: 1.733 MB / 0.5846 GB, free: 5.312 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.005334/0.2791, allocations: 1.931 MB / 0.5865 GB, free: 3.414 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007189/0.2863, allocations: 5.389 MB / 0.5917 GB, free: 14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002157/0.2885, allocations: 1.122 MB / 0.5928 GB, free: 12.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002922/0.2915, allocations: 2.044 MB / 0.5948 GB, free: 10.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003373/0.2948, allocations: 2.666 MB / 0.5974 GB, free: 8.094 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008789/0.2957, allocations: 232 kB / 0.5977 GB, free: 7.867 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.2969, allocations: 375.8 kB / 0.598 GB, free: 7.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007128/0.2977, allocations: 0.9286 MB / 0.5989 GB, free: 6.566 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002172/0.2998, allocations: 2.36 MB / 0.6012 GB, free: 4.191 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00517/0.305, allocations: 5.818 MB / 0.6069 GB, free: 14.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3051, allocations: 0 / 0.6069 GB, free: 14.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3051, allocations: 0 / 0.6069 GB, free: 14.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001453/0.3052, allocations: 0 / 0.6069 GB, free: 14.35 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: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.02558/0.3308, allocations: 8.112 MB / 0.6148 GB, free: 6.148 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3309, allocations: 8.031 kB / 0.6148 GB, free: 6.141 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02605/0.3569, allocations: 3.997 MB / 0.6187 GB, free: 2.133 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004779/0.3617, allocations: 2.643 MB / 0.6213 GB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007718/0.3625, allocations: 0.9321 MB / 0.6222 GB, free: 14.35 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006451/0.3632, allocations: 344 kB / 0.6226 GB, free: 14.01 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008766/0.3719, allocations: 4.727 MB / 0.6272 GB, free: 9.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-05/0.372, allocations: 7.938 kB / 0.6272 GB, free: 9.242 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003601/0.3724, allocations: 140 kB / 0.6273 GB, free: 9.105 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.968e-05/0.3725, allocations: 88 kB / 0.6274 GB, free: 9.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008434/0.3809, allocations: 4.259 MB / 0.6316 GB, free: 4.754 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.03292/0.4138, allocations: 18.35 MB / 0.6495 GB, free: 1.203 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0123/0.4262, allocations: 4.975 MB / 0.6543 GB, free: 12.14 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005823/0.432, allocations: 2.783 MB / 0.6571 GB, free: 9.344 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004776/0.4325, allocations: 74.84 kB / 0.6571 GB, free: 9.27 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/0.4326, allocations: 73.55 kB / 0.6572 GB, free: 9.188 MB / 474.7 MB Notification: Performance of pre-optimization done (n=380): time 5.54e-06/0.4326, allocations: 0 / 0.6572 GB, free: 9.188 MB / 474.7 MB Notification: Performance of matching and sorting (n=380): time 0.5061/0.9387, allocations: 67.18 MB / 0.7228 GB, free: 87.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.9388, allocations: 167.5 kB / 0.723 GB, free: 87.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003499/0.9423, allocations: 3.201 MB / 0.7261 GB, free: 84.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007483/0.9431, allocations: 85.7 kB / 0.7262 GB, free: 83.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009543/0.9441, allocations: 1.966 MB / 0.7281 GB, free: 82.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001178/0.9452, allocations: 1.299 MB / 0.7294 GB, free: 81.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004242/0.9457, allocations: 338.6 kB / 0.7297 GB, free: 80.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.676e-05/0.9457, allocations: 301.1 kB / 0.73 GB, free: 80.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00467/0.9504, allocations: 2.573 MB / 0.7325 GB, free: 77.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005184/0.9556, allocations: 3.213 MB / 0.7356 GB, free: 74.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06534/1.021, allocations: 18.77 MB / 0.754 GB, free: 55.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.137e-05/1.021, allocations: 4 kB / 0.754 GB, free: 55.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=528) (initialization): time 0.05039/1.071, allocations: 17.22 MB / 0.7708 GB, free: 38.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002693/1.072, allocations: 0.5927 MB / 0.7713 GB, free: 37.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/1.072, allocations: 16 kB / 0.7714 GB, free: 37.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02321/1.095, allocations: 7.152 MB / 0.7783 GB, free: 30.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003236/1.098, allocations: 0.6553 MB / 0.779 GB, free: 29.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07173/1.17, allocations: 30.73 MB / 0.809 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005465/1.176, allocations: 0.59 MB / 0.8096 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005932/1.176, allocations: 148 kB / 0.8097 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/1.176, allocations: 4 kB / 0.8097 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05447/1.231, allocations: 16.79 MB / 0.8261 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.986e-05/1.231, allocations: 16 kB / 0.8261 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02551/1.256, allocations: 7.157 MB / 0.8331 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003226/1.26, allocations: 0.6436 MB / 0.8338 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07952/1.339, allocations: 30.74 MB / 0.8638 GB, free: 6.242 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00538/1.345, allocations: 0.5523 MB / 0.8643 GB, free: 5.688 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000779/1.345, allocations: 152 kB / 0.8645 GB, free: 5.539 MB / 0.5417 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (393): * Single equations (assignments): 390 * 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.002194/1.348, allocations: 0.7377 MB / 0.8652 GB, free: 4.789 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.349, allocations: 458.3 kB / 0.8656 GB, free: 4.336 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05339/1.402, allocations: 16.72 MB / 0.8819 GB, free: 3.547 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-05/1.402, allocations: 23.92 kB / 0.882 GB, free: 3.523 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/1.402, allocations: 1.562 kB / 0.882 GB, free: 3.523 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/1.403, allocations: 0.5532 MB / 0.8825 GB, free: 2.945 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009314/1.404, allocations: 64 kB / 0.8826 GB, free: 2.883 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003645/1.408, allocations: 356.1 kB / 0.8829 GB, free: 2.535 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006207/1.414, allocations: 1.835 MB / 0.8847 GB, free: 0.6953 MB / 0.5573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02272/1.437, allocations: 8.141 MB / 0.8927 GB, free: 8.594 MB / 0.573 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.263/1.7, allocations: 8.19 MB / 0.9007 GB, free: 185.4 MB / 0.573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005643/1.706, allocations: 2.274 MB / 0.9029 GB, free: 185.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003404/1.709, allocations: 2.104 MB / 0.9049 GB, free: 185.2 MB / 0.573 GB Notification: Performance of Backend: time 9.61e-07/1.709, allocations: 0 / 0.9049 GB, free: 185.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04273/1.752, allocations: 13.31 MB / 0.9179 GB, free: 181.9 MB / 0.573 GB Notification: Performance of SimCode: time 0.01313/1.765, allocations: 10.71 MB / 0.9284 GB, free: 175.6 MB / 0.573 GB Notification: Performance of Templates: time 0.154/1.919, allocations: 111.8 MB / 1.038 GB, free: 77.5 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)