Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.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.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.418/1.418, allocations: 222.9 MB / 240.1 MB, free: 4.523 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.001606/0.001606, allocations: 188.5 kB / 290.4 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5104/0.5104, allocations: 91.9 MB / 432.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 81 kB / 0.5735 GB, free: 33.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1059, allocations: 71.28 MB / 0.6431 GB, free: 3.539 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII): time 0.01159/0.1176, allocations: 13.07 MB / 0.6558 GB, free: 6.414 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006825/0.1244, allocations: 3.332 MB / 0.6591 GB, free: 3.07 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001984/0.1265, allocations: 24 kB / 0.6591 GB, free: 3.047 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.128, allocations: 0.5111 MB / 0.6596 GB, free: 2.531 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004719/0.1328, allocations: 1.475 MB / 0.6611 GB, free: 1.055 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003811/0.1366, allocations: 1.474 MB / 0.6625 GB, free: 15.6 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004923/0.1415, allocations: 3.383 MB / 0.6658 GB, free: 12.2 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.1428, allocations: 0.7432 MB / 0.6665 GB, free: 11.42 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.1449, allocations: 1.4 MB / 0.6679 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00226/0.1471, allocations: 1.843 MB / 0.6697 GB, free: 8.164 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005857/0.1477, allocations: 260 kB / 0.6699 GB, free: 7.91 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000962/0.1487, allocations: 407.9 kB / 0.6703 GB, free: 7.512 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005245/0.1492, allocations: 0.6961 MB / 0.671 GB, free: 6.812 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.1507, allocations: 1.534 MB / 0.6725 GB, free: 5.27 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004004/0.1547, allocations: 3.691 MB / 0.6761 GB, free: 1.562 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1547, allocations: 4 kB / 0.6761 GB, free: 1.559 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1547, allocations: 0 / 0.6761 GB, free: 1.559 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.627e-05/0.1548, allocations: 0 / 0.6761 GB, free: 1.559 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.02256/0.1774, allocations: 6.298 MB / 0.6823 GB, free: 11.19 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.1774, allocations: 8.031 kB / 0.6823 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01526/0.1927, allocations: 2.265 MB / 0.6845 GB, free: 8.914 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003479/0.1962, allocations: 1.706 MB / 0.6862 GB, free: 7.141 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007098/0.1969, allocations: 0.663 MB / 0.6868 GB, free: 6.379 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007397/0.1977, allocations: 207.9 kB / 0.687 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006946/0.2047, allocations: 2.914 MB / 0.6898 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.34e-05/0.2047, allocations: 0 / 0.6898 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003436/0.2051, allocations: 79.94 kB / 0.6899 GB, free: 3.164 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.358e-05/0.2051, allocations: 48 kB / 0.69 GB, free: 3.117 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006025/0.2112, allocations: 2.681 MB / 0.6926 GB, free: 444 kB / 494.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.01815/0.2293, allocations: 9.613 MB / 0.702 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/0.2401, allocations: 4.068 MB / 0.7059 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003856/0.244, allocations: 1.9 MB / 0.7078 GB, free: 316 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003411/0.2443, allocations: 41.95 kB / 0.7078 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/0.2444, allocations: 60.48 kB / 0.7079 GB, free: 204 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=230): time 5.19e-06/0.2444, allocations: 4 kB / 0.7079 GB, free: 200 kB / 0.4981 GB Notification: Performance of matching and sorting (n=230): time 0.1122/0.3567, allocations: 26.22 MB / 0.7335 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/0.3568, allocations: 136.7 kB / 0.7336 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00301/0.3598, allocations: 2.037 MB / 0.7356 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005438/0.3604, allocations: 65.7 kB / 0.7357 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008234/0.3612, allocations: 1.11 MB / 0.7368 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001102/0.3623, allocations: 0.8559 MB / 0.7376 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001571/0.3639, allocations: 0.5066 MB / 0.7381 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.451e-05/0.364, allocations: 305.1 kB / 0.7384 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004271/0.3683, allocations: 1.912 MB / 0.7403 GB, free: 14.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004535/0.3728, allocations: 2.266 MB / 0.7425 GB, free: 12.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05875/0.4316, allocations: 14.04 MB / 0.7562 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/0.4316, allocations: 0 / 0.7562 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=385) (initialization): time 0.04016/0.4718, allocations: 12.15 MB / 0.768 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.4718, allocations: 12.92 kB / 0.7681 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.4719, allocations: 8 kB / 0.7681 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2723/0.7441, allocations: 5.398 MB / 0.7733 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002531/0.7467, allocations: 499.9 kB / 0.7738 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0584/0.8051, allocations: 23.68 MB / 0.7969 GB, free: 99.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003778/0.8089, allocations: 446.6 kB / 0.7974 GB, free: 99.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005433/0.8095, allocations: 106.3 kB / 0.7975 GB, free: 99.44 MB / 0.5606 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004694/0.8142, allocations: 2.209 MB / 0.7996 GB, free: 98.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004051/0.8183, allocations: 2.239 MB / 0.8018 GB, free: 97.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05492/0.8732, allocations: 13.97 MB / 0.8155 GB, free: 89.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.037e-05/0.8733, allocations: 0 / 0.8155 GB, free: 89.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=385) (initialization_lambda0): time 0.03654/0.9098, allocations: 12.11 MB / 0.8273 GB, free: 77.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.9099, allocations: 8 kB / 0.8273 GB, free: 77.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.9099, allocations: 9.172 kB / 0.8273 GB, free: 77.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01671/0.9266, allocations: 5.411 MB / 0.8326 GB, free: 71.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/0.929, allocations: 492 kB / 0.833 GB, free: 71.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05351/0.9825, allocations: 23.67 MB / 0.8562 GB, free: 47.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003515/0.9861, allocations: 412.6 kB / 0.8566 GB, free: 47.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003334/0.9864, allocations: 112 kB / 0.8567 GB, free: 47.06 MB / 0.5606 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (296): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * 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 {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0006553/0.9871, allocations: 334.7 kB / 0.857 GB, free: 46.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005042/0.9876, allocations: 290.1 kB / 0.8573 GB, free: 46.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03515/1.023, allocations: 11.48 MB / 0.8685 GB, free: 34.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.112e-05/1.023, allocations: 15.95 kB / 0.8685 GB, free: 34.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.023, allocations: 0 / 0.8685 GB, free: 34.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000663/1.024, allocations: 391.8 kB / 0.8689 GB, free: 34.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007386/1.024, allocations: 48.69 kB / 0.8689 GB, free: 34.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002877/1.027, allocations: 255.7 kB / 0.8691 GB, free: 34.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003976/1.031, allocations: 1.371 MB / 0.8705 GB, free: 32.88 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01508/1.046, allocations: 5.267 MB / 0.8756 GB, free: 27.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01049/1.057, allocations: 5.463 MB / 0.881 GB, free: 22.17 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003056/1.06, allocations: 1.524 MB / 0.8825 GB, free: 20.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001642/1.062, allocations: 1.33 MB / 0.8838 GB, free: 19.3 MB / 0.5606 GB Notification: Performance of Backend: time 6.02e-07/1.062, allocations: 0 / 0.8838 GB, free: 19.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02643/1.088, allocations: 9.521 MB / 0.8931 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of SimCode: time 0.006814/1.095, allocations: 5.944 MB / 0.8989 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of Templates: time 0.1263/1.221, allocations: 88.28 MB / 0.9851 GB, free: 11.57 MB / 0.6544 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)