Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 174.4 kB / 16.08 MB, free: 5.727 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.247/1.247, 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.0007661/0.0007662, allocations: 92.44 kB / 290.5 MB, free: 11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4063/0.4063, allocations: 78.43 MB / 419.6 MB, free: 9.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 15.94 kB / 499.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2419, allocations: 68.75 MB / 0.5545 GB, free: 20.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI): time 0.008548/0.2504, allocations: 14.17 MB / 0.5684 GB, free: 5.992 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005508/0.256, allocations: 3.62 MB / 0.5719 GB, free: 2.363 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.2579, allocations: 28 kB / 0.5719 GB, free: 2.336 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009959/0.2589, allocations: 453.1 kB / 0.5723 GB, free: 1.891 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002802/0.2617, allocations: 1.214 MB / 0.5735 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002725/0.2644, allocations: 1.445 MB / 0.5749 GB, free: 15.25 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003422/0.2679, allocations: 3.46 MB / 0.5783 GB, free: 11.78 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009476/0.2688, allocations: 0.7177 MB / 0.579 GB, free: 11.03 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.2703, allocations: 1.298 MB / 0.5803 GB, free: 9.723 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.2719, allocations: 1.761 MB / 0.582 GB, free: 7.953 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002986/0.2722, allocations: 140 kB / 0.5821 GB, free: 7.816 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006539/0.2729, allocations: 271.9 kB / 0.5824 GB, free: 7.551 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000474/0.2734, allocations: 0.6179 MB / 0.583 GB, free: 6.93 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.2745, allocations: 1.455 MB / 0.5844 GB, free: 5.465 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003039/0.2776, allocations: 3.669 MB / 0.588 GB, free: 1.781 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2776, allocations: 0 / 0.588 GB, free: 1.781 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2776, allocations: 0 / 0.588 GB, free: 1.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.994e-05/0.2776, allocations: 0 / 0.588 GB, free: 1.781 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01972/0.2974, allocations: 5.905 MB / 0.5938 GB, free: 11.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.2974, allocations: 12.02 kB / 0.5938 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01438/0.3118, allocations: 2.271 MB / 0.596 GB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003403/0.3152, allocations: 1.863 MB / 0.5978 GB, free: 7.562 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005748/0.3158, allocations: 0.671 MB / 0.5985 GB, free: 6.789 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004169/0.3163, allocations: 219.9 kB / 0.5987 GB, free: 6.574 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005657/0.3219, allocations: 3.044 MB / 0.6017 GB, free: 3.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/0.322, allocations: 0 / 0.6017 GB, free: 3.445 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002187/0.3222, allocations: 83.94 kB / 0.6017 GB, free: 3.363 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/0.3223, allocations: 48 kB / 0.6018 GB, free: 3.316 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005639/0.3279, allocations: 2.811 MB / 0.6045 GB, free: 500 kB / 410.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.01687/0.3448, allocations: 9.94 MB / 0.6142 GB, free: 6.102 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/0.355, allocations: 4.084 MB / 0.6182 GB, free: 1.883 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0039/0.3589, allocations: 1.975 MB / 0.6202 GB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/0.3592, allocations: 43.12 kB / 0.6202 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.3592, allocations: 64.56 kB / 0.6203 GB, free: 15.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=241): time 4.368e-06/0.3592, allocations: 0 / 0.6203 GB, free: 15.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=241): time 0.1136/0.4728, allocations: 27.98 MB / 0.6476 GB, free: 3.723 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.473, allocations: 235.6 kB / 0.6478 GB, free: 3.445 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/0.4761, allocations: 2.272 MB / 0.65 GB, free: 1.164 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004405/0.4766, allocations: 73.64 kB / 0.6501 GB, free: 1.086 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008451/0.4774, allocations: 1.172 MB / 0.6512 GB, free: 15.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000833/0.4783, allocations: 0.8549 MB / 0.6521 GB, free: 15.03 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003815/0.4786, allocations: 272.1 kB / 0.6523 GB, free: 14.76 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.366e-05/0.4787, allocations: 301.1 kB / 0.6526 GB, free: 14.46 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004028/0.4828, allocations: 1.935 MB / 0.6545 GB, free: 12.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004296/0.4871, allocations: 2.309 MB / 0.6568 GB, free: 10.12 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05219/0.5393, allocations: 13.95 MB / 0.6704 GB, free: 11.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.5393, allocations: 0 / 0.6704 GB, free: 11.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.2581/0.7974, allocations: 12.22 MB / 0.6823 GB, free: 104.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.7977, allocations: 401.6 kB / 0.6827 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.7977, allocations: 6.656 kB / 0.6827 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01847/0.8162, allocations: 5.371 MB / 0.688 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002666/0.8189, allocations: 0.5241 MB / 0.6885 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0494/0.8683, allocations: 21.62 MB / 0.7096 GB, free: 96.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003785/0.8721, allocations: 471 kB / 0.71 GB, free: 96.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003185/0.8724, allocations: 114.2 kB / 0.7101 GB, free: 96.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.697e-06/0.8724, allocations: 3.938 kB / 0.7101 GB, free: 96.33 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03558/0.908, allocations: 11.91 MB / 0.7218 GB, free: 89.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.53e-05/0.9081, allocations: 4 kB / 0.7218 GB, free: 89.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01621/0.9243, allocations: 5.376 MB / 0.727 GB, free: 84.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/0.9268, allocations: 0.511 MB / 0.7275 GB, free: 83.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0482/0.975, allocations: 21.59 MB / 0.7486 GB, free: 62.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003494/0.9785, allocations: 439.7 kB / 0.749 GB, free: 61.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002725/0.9788, allocations: 108 kB / 0.7491 GB, free: 61.54 MB / 490.7 MB 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 order3_1.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 (305): * Single equations (assignments): 300 * Array equations: 0 * Algorithm blocks: 4 * 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,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001061/0.9799, allocations: 0.602 MB / 0.7497 GB, free: 60.92 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004887/0.9804, allocations: 296.3 kB / 0.75 GB, free: 60.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03592/1.016, allocations: 11.67 MB / 0.7614 GB, free: 48.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.687e-05/1.016, allocations: 15.95 kB / 0.7614 GB, free: 48.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/1.016, allocations: 0 / 0.7614 GB, free: 48.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007529/1.017, allocations: 404.8 kB / 0.7618 GB, free: 48.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000595/1.018, allocations: 47.94 kB / 0.7619 GB, free: 48.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002642/1.02, allocations: 291.6 kB / 0.7621 GB, free: 48.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00384/1.024, allocations: 1.335 MB / 0.7634 GB, free: 46.8 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01389/1.038, allocations: 5.688 MB / 0.769 GB, free: 41.12 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01038/1.049, allocations: 5.902 MB / 0.7748 GB, free: 35.19 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003157/1.052, allocations: 1.612 MB / 0.7763 GB, free: 33.58 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00202/1.054, allocations: 1.511 MB / 0.7778 GB, free: 32.06 MB / 490.7 MB Notification: Performance of Backend: time 6.01e-07/1.054, allocations: 1.422 kB / 0.7778 GB, free: 32.06 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02551/1.079, allocations: 9.708 MB / 0.7873 GB, free: 22.24 MB / 490.7 MB Notification: Performance of SimCode: time 0.006898/1.086, allocations: 7.182 MB / 0.7943 GB, free: 15 MB / 490.7 MB Notification: Performance of Templates: time 0.1124/1.199, allocations: 80.74 MB / 0.8731 GB, free: 14.27 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)