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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001539, allocations: 182.9 kB / 15.98 MB, free: 5.77 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.243/1.243, allocations: 222.9 MB / 239.6 MB, free: 11.01 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.0009728/0.0009728, allocations: 101.6 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4165/0.4165, allocations: 78.48 MB / 418.5 MB, free: 8.793 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.91 kB / 497.4 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2582, allocations: 68.13 MB / 0.5523 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01422/0.2725, allocations: 23.47 MB / 0.5752 GB, free: 12.64 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.2829, allocations: 5.176 MB / 0.5803 GB, free: 7.449 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003629/0.2866, allocations: 52 kB / 0.5803 GB, free: 7.398 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002683/0.2893, allocations: 0.6829 MB / 0.581 GB, free: 6.711 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006229/0.2956, allocations: 1.75 MB / 0.5827 GB, free: 4.953 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005083/0.3007, allocations: 1.929 MB / 0.5846 GB, free: 3.055 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007081/0.3078, allocations: 5.573 MB / 0.59 GB, free: 13.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002102/0.3099, allocations: 1.151 MB / 0.5912 GB, free: 12.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002986/0.3129, allocations: 2.196 MB / 0.5933 GB, free: 10.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003701/0.3166, allocations: 2.861 MB / 0.5961 GB, free: 7.172 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001272/0.3179, allocations: 292 kB / 0.5964 GB, free: 6.887 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.3196, allocations: 431.9 kB / 0.5968 GB, free: 6.465 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.3209, allocations: 1.014 MB / 0.5978 GB, free: 5.445 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002885/0.3238, allocations: 2.485 MB / 0.6002 GB, free: 2.945 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005406/0.3292, allocations: 6.055 MB / 0.6061 GB, free: 12.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3292, allocations: 0 / 0.6061 GB, free: 12.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3293, allocations: 0 / 0.6061 GB, free: 12.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001272/0.3294, allocations: 0 / 0.6061 GB, free: 12.87 MB / 426.7 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.03126/0.3606, allocations: 9.236 MB / 0.6151 GB, free: 3.535 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3607, allocations: 12.03 kB / 0.6151 GB, free: 3.523 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02584/0.3865, allocations: 4.012 MB / 0.6191 GB, free: 15.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005576/0.3921, allocations: 2.694 MB / 0.6217 GB, free: 12.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009413/0.3931, allocations: 0.9611 MB / 0.6226 GB, free: 11.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009358/0.3941, allocations: 348 kB / 0.623 GB, free: 11.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009486/0.4036, allocations: 4.755 MB / 0.6276 GB, free: 6.504 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.046e-05/0.4036, allocations: 0 / 0.6276 GB, free: 6.504 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003706/0.404, allocations: 144 kB / 0.6277 GB, free: 6.363 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-05/0.4041, allocations: 88 kB / 0.6278 GB, free: 6.277 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008977/0.4131, allocations: 4.256 MB / 0.632 GB, free: 2.016 MB / 442.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.03305/0.4461, allocations: 18.43 MB / 0.65 GB, free: 14.39 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01288/0.4591, allocations: 5.035 MB / 0.6549 GB, free: 9.281 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005998/0.4651, allocations: 2.802 MB / 0.6576 GB, free: 6.469 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004711/0.4656, allocations: 66.84 kB / 0.6577 GB, free: 6.406 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006492/0.4721, allocations: 3.199 MB / 0.6608 GB, free: 3.168 MB / 474.7 MB Notification: Performance of pre-optimization done (n=385): time 5.711e-06/0.4721, allocations: 0 / 0.6608 GB, free: 3.168 MB / 474.7 MB Notification: Performance of matching and sorting (n=385): time 0.5228/0.9949, allocations: 66.82 MB / 0.7261 GB, free: 81.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.995, allocations: 141.8 kB / 0.7262 GB, free: 80.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003648/0.9986, allocations: 3.271 MB / 0.7294 GB, free: 77.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008021/0.9994, allocations: 97.72 kB / 0.7295 GB, free: 77.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009766/1, allocations: 1.974 MB / 0.7314 GB, free: 75.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001299/1.002, allocations: 1.322 MB / 0.7327 GB, free: 74.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001271/1.003, allocations: 0.6862 MB / 0.7334 GB, free: 73.83 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.732e-05/1.003, allocations: 301.1 kB / 0.7337 GB, free: 73.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005108/1.008, allocations: 2.616 MB / 0.7362 GB, free: 70.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005598/1.014, allocations: 3.253 MB / 0.7394 GB, free: 67.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.07005/1.084, allocations: 19.13 MB / 0.7581 GB, free: 48.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-05/1.084, allocations: 4 kB / 0.7581 GB, free: 48.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=546) (initialization): time 0.05584/1.14, allocations: 17.25 MB / 0.7749 GB, free: 30.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.535e-05/1.14, allocations: 67.39 kB / 0.775 GB, free: 30.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/1.14, allocations: 23.38 kB / 0.775 GB, free: 30.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02652/1.166, allocations: 7.299 MB / 0.7822 GB, free: 23.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003377/1.17, allocations: 0.6835 MB / 0.7828 GB, free: 22.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07854/1.248, allocations: 31.14 MB / 0.8132 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005899/1.254, allocations: 0.6249 MB / 0.8138 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005735/1.255, allocations: 160 kB / 0.814 GB, free: 6.602 MB / 0.4948 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.001619/1.257, allocations: 0.6715 MB / 0.8146 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008726/1.257, allocations: 458.3 kB / 0.8151 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05773/1.315, allocations: 16.9 MB / 0.8316 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.312e-05/1.315, allocations: 36.55 kB / 0.8316 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.287e-05/1.315, allocations: 28 kB / 0.8317 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.04e-05/1.315, allocations: 15.94 kB / 0.8317 GB, free: 4.41 MB / 0.5105 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.06605/1.381, allocations: 21.91 MB / 0.8531 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.012e-05/1.382, allocations: 3.938 kB / 0.8531 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002499/1.384, allocations: 395.5 kB / 0.8534 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02733/1.411, allocations: 7.348 MB / 0.8606 GB, free: 6.664 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008582/1.412, allocations: 67.98 kB / 0.8607 GB, free: 6.598 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07747/1.49, allocations: 28.99 MB / 0.889 GB, free: 9.309 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.49, allocations: 0 / 0.889 GB, free: 9.309 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5836/2.073, allocations: 125.1 MB / 1.011 GB, free: 102.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/2.074, allocations: 0.5657 MB / 1.012 GB, free: 101.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007674/2.075, allocations: 60 kB / 1.012 GB, free: 101.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004286/2.08, allocations: 391.5 kB / 1.012 GB, free: 101.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002884/2.082, allocations: 0.7646 MB / 1.013 GB, free: 100.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003082/2.083, allocations: 95.98 kB / 1.013 GB, free: 100.6 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002408/2.085, allocations: 2.145 MB / 1.015 GB, free: 98.49 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.91e-07/2.085, allocations: 0 / 1.015 GB, free: 98.49 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006368/2.092, allocations: 2.501 MB / 1.018 GB, free: 95.99 MB / 0.573 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.0005257/2.092, allocations: 201.5 kB / 1.018 GB, free: 95.78 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02419/2.116, allocations: 9.201 MB / 1.027 GB, free: 86.54 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/2.116, allocations: 4.188 kB / 1.027 GB, free: 86.53 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01945/2.136, allocations: 6.197 MB / 1.033 GB, free: 80.29 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/2.139, allocations: 387.3 kB / 1.033 GB, free: 79.91 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02812/2.167, allocations: 14.95 MB / 1.048 GB, free: 64.89 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002049/2.169, allocations: 2.594 MB / 1.05 GB, free: 62.25 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001701/2.171, allocations: 383.2 kB / 1.051 GB, free: 61.88 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008672/2.171, allocations: 247.3 kB / 1.051 GB, free: 61.63 MB / 0.573 GB Notification: Performance of SimCode: time 6.51e-07/2.171, allocations: 0 / 1.051 GB, free: 61.63 MB / 0.573 GB Notification: Performance of Templates: time 0.3651/2.537, allocations: 124.9 MB / 1.173 GB, free: 137.6 MB / 0.573 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)