Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.377/1.377, allocations: 223.3 MB / 239 MB, free: 5.602 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.001098/0.001098, allocations: 164.6 kB / 290.3 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5386/0.5386, allocations: 91.92 MB / 433.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003802, allocations: 8 kB / 0.5042 GB, free: 7.648 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.364, allocations: 72.48 MB / 0.5749 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.0151/0.3791, allocations: 21.03 MB / 0.5955 GB, free: 21.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01166/0.3908, allocations: 4.994 MB / 0.6004 GB, free: 18.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005428/0.3963, allocations: 50.47 kB / 0.6004 GB, free: 18.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003719/0.4, allocations: 0.6167 MB / 0.601 GB, free: 17.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008921/0.409, allocations: 1.772 MB / 0.6027 GB, free: 16.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005407/0.4144, allocations: 1.768 MB / 0.6045 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008683/0.4231, allocations: 5.247 MB / 0.6096 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003626/0.4268, allocations: 1.061 MB / 0.6106 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00485/0.4316, allocations: 2.027 MB / 0.6126 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005307/0.437, allocations: 2.637 MB / 0.6152 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002023/0.439, allocations: 238.4 kB / 0.6154 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002936/0.442, allocations: 370 kB / 0.6158 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001823/0.4438, allocations: 0.9168 MB / 0.6167 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002501/0.4463, allocations: 0.8362 MB / 0.6175 GB, free: 9.211 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007937/0.4543, allocations: 4.69 MB / 0.622 GB, free: 7.719 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.4543, allocations: 1 kB / 0.622 GB, free: 7.719 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4543, allocations: 0 / 0.622 GB, free: 7.719 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003491/0.4547, allocations: 0 / 0.622 GB, free: 7.719 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03019/0.4849, allocations: 8.558 MB / 0.6304 GB, free: 4.012 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.485, allocations: 9.875 kB / 0.6304 GB, free: 4.012 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02537/0.5104, allocations: 4.06 MB / 0.6344 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007521/0.5179, allocations: 2.53 MB / 0.6369 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001132/0.5191, allocations: 0.9886 MB / 0.6378 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/0.5208, allocations: 348 kB / 0.6381 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/0.534, allocations: 4.985 MB / 0.643 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.088e-05/0.5341, allocations: 0 / 0.643 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004823/0.5346, allocations: 140 kB / 0.6432 GB, free: 7.668 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.768e-05/0.5347, allocations: 87.95 kB / 0.6432 GB, free: 7.582 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.5448, allocations: 4.498 MB / 0.6476 GB, free: 3.078 MB / 446.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.0404/0.5852, allocations: 18.9 MB / 0.6661 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01414/0.5994, allocations: 5.763 MB / 0.6717 GB, free: 9.152 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0075/0.607, allocations: 3.048 MB / 0.6747 GB, free: 6.094 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/0.6081, allocations: 66.92 kB / 0.6748 GB, free: 6.027 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008395/0.6165, allocations: 3.451 MB / 0.6781 GB, free: 2.535 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 1.177e-05/0.6165, allocations: 3.984 kB / 0.6781 GB, free: 2.531 MB / 478.1 MB Notification: Performance of matching and sorting (n=385): time 0.2893/0.9058, allocations: 79.82 MB / 0.7561 GB, free: 2.512 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.906, allocations: 141.8 kB / 0.7562 GB, free: 2.348 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005953/0.9119, allocations: 3.239 MB / 0.7594 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001103/0.9131, allocations: 85.7 kB / 0.7595 GB, free: 15 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001661/0.9147, allocations: 1.99 MB / 0.7614 GB, free: 13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002261/0.917, allocations: 1.321 MB / 0.7627 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008844/0.9179, allocations: 88.03 kB / 0.7628 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0003309/0.9182, allocations: 467.2 kB / 0.7632 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006621/0.9249, allocations: 2.862 MB / 0.766 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006973/0.9319, allocations: 3.491 MB / 0.7694 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007038/0.9389, allocations: 3.148 MB / 0.7725 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.321e-05/0.939, allocations: 4 kB / 0.7725 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.3004/1.239, allocations: 20.87 MB / 0.7929 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-05/1.24, allocations: 64.05 kB / 0.7929 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.205e-05/1.24, allocations: 14.06 kB / 0.793 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02884/1.268, allocations: 8.715 MB / 0.8015 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003543/1.272, allocations: 0.672 MB / 0.8021 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07928/1.351, allocations: 36.78 MB / 0.838 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006222/1.358, allocations: 0.7623 MB / 0.8388 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000919/1.359, allocations: 160 kB / 0.8389 GB, free: 132.2 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (408): * Single equations (assignments): 404 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.002546/1.361, allocations: 0.6657 MB / 0.8396 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/1.362, allocations: 458.3 kB / 0.84 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0493/1.412, allocations: 20.66 MB / 0.8602 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.914e-05/1.412, allocations: 40 kB / 0.8602 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.353e-05/1.412, allocations: 39.94 kB / 0.8603 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.923e-05/1.412, allocations: 15.94 kB / 0.8603 GB, free: 110.3 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.05531/1.467, allocations: 25.68 MB / 0.8854 GB, free: 84.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/1.467, allocations: 0 / 0.8854 GB, free: 84.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002254/1.469, allocations: 395.5 kB / 0.8858 GB, free: 84.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02328/1.493, allocations: 8.673 MB / 0.8942 GB, free: 75.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001166/1.494, allocations: 67.98 kB / 0.8943 GB, free: 75.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06876/1.563, allocations: 32.65 MB / 0.9262 GB, free: 42.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.563, allocations: 0 / 0.9262 GB, free: 42.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05741/1.62, allocations: 24.3 MB / 0.9499 GB, free: 18.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/1.622, allocations: 0.5648 MB / 0.9505 GB, free: 17.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00117/1.623, allocations: 67.95 kB / 0.9505 GB, free: 17.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00395/1.627, allocations: 0.5035 MB / 0.951 GB, free: 16.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002716/1.63, allocations: 0.7919 MB / 0.9518 GB, free: 16.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003153/1.63, allocations: 95.98 kB / 0.9519 GB, free: 16.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002669/1.633, allocations: 2.11 MB / 0.9539 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/1.633, allocations: 0 / 0.9539 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005473/1.638, allocations: 1.825 MB / 0.9557 GB, free: 12.08 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 246 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005852/1.639, allocations: 199 kB / 0.9559 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02196/1.661, allocations: 10.44 MB / 0.9661 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.661, allocations: 3.938 kB / 0.9661 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0187/1.679, allocations: 7.083 MB / 0.973 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005654/1.685, allocations: 381.7 kB / 0.9734 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/1.7, allocations: 9.525 MB / 0.9827 GB, free: 328 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001844/1.702, allocations: 2.455 MB / 0.9851 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001829/1.704, allocations: 375.2 kB / 0.9855 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008654/1.705, allocations: 239.3 kB / 0.9857 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/1.705, allocations: 0 / 0.9857 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of Templates: time 0.3873/2.092, allocations: 81.56 MB / 1.065 GB, free: 153.6 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)