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.008941/0.008942, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.412/1.412, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001477/0.001477, allocations: 192.5 kB / 289.7 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.5513/0.5513, allocations: 91.9 MB / 431.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 81.72 kB / 0.5728 GB, free: 33.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.163, allocations: 71.28 MB / 0.6425 GB, free: 3.457 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01972/0.1827, allocations: 21.99 MB / 0.6639 GB, free: 13.38 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.1964, allocations: 4.908 MB / 0.6687 GB, free: 8.453 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006339/0.2028, allocations: 44 kB / 0.6688 GB, free: 8.41 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003784/0.2067, allocations: 0.8828 MB / 0.6696 GB, free: 7.52 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01103/0.2177, allocations: 2.31 MB / 0.6719 GB, free: 5.199 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006802/0.2246, allocations: 2.079 MB / 0.6739 GB, free: 3.152 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01092/0.2355, allocations: 5.802 MB / 0.6796 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002706/0.2382, allocations: 1.318 MB / 0.6809 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004572/0.2428, allocations: 2.361 MB / 0.6832 GB, free: 9.586 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004927/0.2478, allocations: 2.982 MB / 0.6861 GB, free: 6.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001717/0.2496, allocations: 448 kB / 0.6865 GB, free: 6.152 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.252, allocations: 0.5937 MB / 0.6871 GB, free: 5.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001361/0.2534, allocations: 1.163 MB / 0.6882 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004257/0.2576, allocations: 2.641 MB / 0.6908 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00869/0.2663, allocations: 6.289 MB / 0.6969 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2664, allocations: 0 / 0.6969 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2664, allocations: 0 / 0.6969 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002566/0.2667, allocations: 0 / 0.6969 GB, free: 11.42 MB / 0.4981 GB 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.03564/0.3023, allocations: 9.236 MB / 0.706 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.3024, allocations: 15.97 kB / 0.706 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02825/0.3307, allocations: 4.016 MB / 0.7099 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009566/0.3403, allocations: 2.694 MB / 0.7125 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001249/0.3416, allocations: 0.9612 MB / 0.7135 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001806/0.3434, allocations: 348 kB / 0.7138 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01453/0.3579, allocations: 4.755 MB / 0.7184 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/0.3581, allocations: 0 / 0.7184 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001014/0.3591, allocations: 140 kB / 0.7186 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.326e-05/0.3592, allocations: 84 kB / 0.7187 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/0.3714, allocations: 4.26 MB / 0.7228 GB, free: 0.5664 MB / 0.5137 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 preOpt removeSimpleEquations (simulation): time 0.0415/0.413, allocations: 18.29 MB / 0.7407 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0135/0.4265, allocations: 5.037 MB / 0.7456 GB, free: 7.969 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00681/0.4334, allocations: 2.798 MB / 0.7483 GB, free: 5.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006917/0.4341, allocations: 74.92 kB / 0.7484 GB, free: 5.086 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008541/0.4427, allocations: 3.189 MB / 0.7515 GB, free: 1.855 MB / 0.545 GB Notification: Performance of pre-optimization done (n=385): time 1.676e-05/0.4427, allocations: 0 / 0.7515 GB, free: 1.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=385): time 0.6741/1.117, allocations: 66.81 MB / 0.8168 GB, free: 83.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/1.117, allocations: 145.8 kB / 0.8169 GB, free: 83.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004297/1.121, allocations: 3.277 MB / 0.8201 GB, free: 81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001022/1.122, allocations: 87.08 kB / 0.8202 GB, free: 80.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001143/1.123, allocations: 1.989 MB / 0.8221 GB, free: 79.63 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001599/1.125, allocations: 1.317 MB / 0.8234 GB, free: 78.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001348/1.126, allocations: 0.6823 MB / 0.8241 GB, free: 77.63 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.691e-05/1.126, allocations: 305.1 kB / 0.8244 GB, free: 77.33 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005233/1.132, allocations: 2.612 MB / 0.8269 GB, free: 74.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005896/1.138, allocations: 3.253 MB / 0.8301 GB, free: 71.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06849/1.206, allocations: 19.13 MB / 0.8488 GB, free: 51.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-05/1.206, allocations: 4 kB / 0.8488 GB, free: 51.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.05865/1.265, allocations: 17.24 MB / 0.8656 GB, free: 34.56 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.702e-05/1.265, allocations: 67.41 kB / 0.8657 GB, free: 34.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.703e-05/1.265, allocations: 23.94 kB / 0.8657 GB, free: 34.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02605/1.291, allocations: 7.291 MB / 0.8728 GB, free: 27.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003568/1.295, allocations: 0.6864 MB / 0.8735 GB, free: 26.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09531/1.39, allocations: 33.84 MB / 0.9065 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006537/1.397, allocations: 0.623 MB / 0.9071 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/1.398, allocations: 161.1 kB / 0.9073 GB, free: 7.711 MB / 0.5762 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 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (409): * Single equations (assignments): 406 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.002986/1.401, allocations: 0.6714 MB / 0.908 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001698/1.402, allocations: 463 kB / 0.9084 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05932/1.462, allocations: 16.88 MB / 0.9249 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-05/1.462, allocations: 40 kB / 0.9249 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.481e-05/1.462, allocations: 28 kB / 0.9249 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001131/1.462, allocations: 19.92 kB / 0.925 GB, free: 5.523 MB / 0.5919 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.07025/1.532, allocations: 21.91 MB / 0.9464 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.926e-05/1.532, allocations: 0 / 0.9464 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002672/1.535, allocations: 399.5 kB / 0.9467 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02742/1.563, allocations: 7.335 MB / 0.9539 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001262/1.564, allocations: 72.78 kB / 0.954 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09171/1.656, allocations: 31.84 MB / 0.9851 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/1.656, allocations: 3.938 kB / 0.9851 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06938/1.725, allocations: 20.29 MB / 1.005 GB, free: 3.207 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/1.727, allocations: 0.557 MB / 1.005 GB, free: 2.625 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002112/1.729, allocations: 68 kB / 1.005 GB, free: 2.559 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005786/1.735, allocations: 375.5 kB / 1.006 GB, free: 2.191 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004308/1.739, allocations: 0.7925 MB / 1.007 GB, free: 1.402 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001012/1.74, allocations: 95.98 kB / 1.007 GB, free: 1.309 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004578/1.745, allocations: 2.149 MB / 1.009 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.91e-07/1.745, allocations: 0 / 1.009 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.008377/1.753, allocations: 1.809 MB / 1.011 GB, free: 13.35 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00135/1.755, allocations: 207.5 kB / 1.011 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.03113/1.786, allocations: 9.356 MB / 1.02 GB, free: 3.73 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/1.786, allocations: 4.75 kB / 1.02 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.02356/1.809, allocations: 6.199 MB / 1.026 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006502/1.816, allocations: 390.2 kB / 1.026 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0212/1.837, allocations: 8.016 MB / 1.034 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003249/1.84, allocations: 2.455 MB / 1.037 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00242/1.843, allocations: 383.2 kB / 1.037 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/1.844, allocations: 247.4 kB / 1.037 GB, free: 1.945 MB / 0.7012 GB Notification: Performance of SimCode: time 1.102e-06/1.844, allocations: 0 / 1.037 GB, free: 1.945 MB / 0.7012 GB Notification: Performance of Templates: time 0.4666/2.311, allocations: 94.13 MB / 1.129 GB, free: 174.4 MB / 0.7012 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)