Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.2 MB / 239 MB, free: 5.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 181.2 kB / 290.2 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4786/0.4786, allocations: 79.45 MB / 420.7 MB, free: 4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003883, allocations: 15.98 kB / 0.489 GB, free: 5.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1558, allocations: 69.52 MB / 0.5569 GB, free: 32 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI): time 0.2827/0.4386, allocations: 19.29 MB / 0.5757 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.4502, allocations: 5.201 MB / 0.5808 GB, free: 25.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00592/0.4561, allocations: 52 kB / 0.5808 GB, free: 25.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003912/0.4601, allocations: 0.6047 MB / 0.5814 GB, free: 25.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00901/0.4691, allocations: 2.003 MB / 0.5834 GB, free: 24.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005987/0.4751, allocations: 1.764 MB / 0.5851 GB, free: 23.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0104/0.4855, allocations: 3.721 MB / 0.5888 GB, free: 21.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003425/0.489, allocations: 1.054 MB / 0.5898 GB, free: 20.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004279/0.4933, allocations: 1.986 MB / 0.5917 GB, free: 19.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004473/0.4978, allocations: 2.522 MB / 0.5942 GB, free: 18.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00226/0.5001, allocations: 233.8 kB / 0.5944 GB, free: 18.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002991/0.5031, allocations: 355.4 kB / 0.5947 GB, free: 18.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002067/0.5052, allocations: 0.8992 MB / 0.5956 GB, free: 18.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00251/0.5077, allocations: 0.8333 MB / 0.5964 GB, free: 17.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007611/0.5154, allocations: 4.388 MB / 0.6007 GB, free: 16.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5154, allocations: 0 / 0.6007 GB, free: 16.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.5154, allocations: 4 kB / 0.6007 GB, free: 16.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003527/0.5158, allocations: 0 / 0.6007 GB, free: 16.26 MB / 430.1 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.03275/0.5485, allocations: 8.434 MB / 0.609 GB, free: 13.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5486, allocations: 9.438 kB / 0.609 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02787/0.5765, allocations: 4.05 MB / 0.6129 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008283/0.5848, allocations: 2.494 MB / 0.6154 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001076/0.5859, allocations: 0.962 MB / 0.6163 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00176/0.5877, allocations: 347 kB / 0.6166 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.6005, allocations: 4.939 MB / 0.6215 GB, free: 8.277 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.351e-05/0.6006, allocations: 0.9688 kB / 0.6215 GB, free: 8.277 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004023/0.601, allocations: 140.2 kB / 0.6216 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.589e-05/0.6011, allocations: 88.48 kB / 0.6217 GB, free: 8.164 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/0.6116, allocations: 4.503 MB / 0.6261 GB, free: 6.113 MB / 430.1 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.03938/0.651, allocations: 19.03 MB / 0.6447 GB, free: 1.832 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01321/0.6642, allocations: 5.697 MB / 0.6502 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007256/0.665, allocations: 66.89 kB / 0.6503 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.494e-05/0.6651, allocations: 77.42 kB / 0.6504 GB, free: 11.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=379): time 5.641e-06/0.6651, allocations: 8 kB / 0.6504 GB, free: 11.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=379): time 0.3065/0.9715, allocations: 80.05 MB / 0.7285 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.9717, allocations: 171.4 kB / 0.7287 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005287/0.977, allocations: 3.183 MB / 0.7318 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001297/0.9783, allocations: 93.7 kB / 0.7319 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001545/0.9799, allocations: 1.947 MB / 0.7338 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002565/0.9825, allocations: 1.305 MB / 0.7351 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003424/0.9828, allocations: 80 kB / 0.7352 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003176/0.9832, allocations: 470.7 kB / 0.7356 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005901/0.9891, allocations: 2.819 MB / 0.7384 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006396/0.9955, allocations: 3.435 MB / 0.7417 GB, free: 13.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006584/1.002, allocations: 3.091 MB / 0.7447 GB, free: 10.74 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.978e-05/1.002, allocations: 4 kB / 0.7447 GB, free: 10.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=524) (initialization): time 0.06211/1.064, allocations: 20.94 MB / 0.7652 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.3269/1.391, allocations: 6.616 MB / 0.7716 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-05/1.391, allocations: 17.25 kB / 0.7717 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02815/1.419, allocations: 8.552 MB / 0.78 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003659/1.423, allocations: 0.6414 MB / 0.7806 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.103/1.526, allocations: 37.09 MB / 0.8169 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007718/1.534, allocations: 0.7411 MB / 0.8176 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00143/1.535, allocations: 153.6 kB / 0.8177 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/1.536, allocations: 3.969 kB / 0.8177 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05848/1.594, allocations: 20.5 MB / 0.8378 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-05/1.594, allocations: 21.12 kB / 0.8378 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02568/1.62, allocations: 8.552 MB / 0.8461 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003572/1.623, allocations: 0.6433 MB / 0.8468 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08516/1.709, allocations: 37.08 MB / 0.883 GB, free: 94.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007715/1.716, allocations: 0.7044 MB / 0.8837 GB, free: 94.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001494/1.718, allocations: 150.1 kB / 0.8838 GB, free: 93.94 MB / 0.5606 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_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(flow=false start = order3_1.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 (388): * Single equations (assignments): 385 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.004303/1.722, allocations: 0.7489 MB / 0.8845 GB, free: 93.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002476/1.725, allocations: 454.4 kB / 0.885 GB, free: 92.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05556/1.78, allocations: 20.49 MB / 0.905 GB, free: 72.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.343e-05/1.78, allocations: 36 kB / 0.905 GB, free: 72.14 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.763e-05/1.78, allocations: 28 kB / 0.905 GB, free: 72.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001211/1.781, allocations: 15.94 kB / 0.9051 GB, free: 72.1 MB / 0.5606 GB 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 postOpt removeSimpleEquations (simulation): time 0.06444/1.845, allocations: 25.81 MB / 0.9303 GB, free: 46.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.592e-05/1.845, allocations: 4.031 kB / 0.9303 GB, free: 46.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002487/1.848, allocations: 403.5 kB / 0.9306 GB, free: 45.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02524/1.873, allocations: 8.609 MB / 0.9391 GB, free: 37.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001306/1.874, allocations: 75.94 kB / 0.9391 GB, free: 37.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07372/1.948, allocations: 32.41 MB / 0.9708 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.948, allocations: 0 / 0.9708 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3832/2.331, allocations: 24.12 MB / 0.9943 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002282/2.334, allocations: 0.5556 MB / 0.9949 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001681/2.335, allocations: 64.97 kB / 0.9949 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004868/2.34, allocations: 0.4923 MB / 0.9954 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002894/2.343, allocations: 0.7784 MB / 0.9962 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003178/2.343, allocations: 94.62 kB / 0.9963 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002977/2.346, allocations: 2.075 MB / 0.9983 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/2.346, allocations: 0.5625 kB / 0.9983 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01068/2.357, allocations: 2.962 MB / 1.001 GB, free: 163.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007059/2.358, allocations: 192.9 kB / 1.001 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.05657/2.414, allocations: 17.54 MB / 1.018 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/2.414, allocations: 1 kB / 1.018 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.02375/2.438, allocations: 6.91 MB / 1.025 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005487/2.444, allocations: 324.5 kB / 1.026 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02482/2.469, allocations: 9.652 MB / 1.035 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003676/2.472, allocations: 2.589 MB / 1.038 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003409/2.476, allocations: 453.2 kB / 1.038 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/2.477, allocations: 237.1 kB / 1.038 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.463e-06/2.477, allocations: 2.188 kB / 1.038 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.1524/2.629, allocations: 108.9 MB / 1.145 GB, free: 57.49 MB / 0.5762 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)