Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 109.9 kB / 16.41 MB, free: 6.508 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.328/1.328, allocations: 222.9 MB / 240.1 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.001633/0.001633, allocations: 184.5 kB / 290.4 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5183/0.5183, allocations: 91.9 MB / 432.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 74.88 kB / 0.5734 GB, free: 33.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1542, allocations: 71.29 MB / 0.643 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.007385/0.1617, allocations: 6.714 MB / 0.6496 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00501/0.1667, allocations: 2.021 MB / 0.6515 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.1683, allocations: 15.94 kB / 0.6516 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.1696, allocations: 242 kB / 0.6518 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003458/0.1731, allocations: 0.8181 MB / 0.6526 GB, free: 9.75 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.175, allocations: 0.6407 MB / 0.6532 GB, free: 9.113 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003048/0.178, allocations: 1.675 MB / 0.6548 GB, free: 7.434 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008967/0.179, allocations: 330.5 kB / 0.6552 GB, free: 7.102 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/0.1806, allocations: 0.6924 MB / 0.6558 GB, free: 6.406 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001864/0.1824, allocations: 0.8751 MB / 0.6567 GB, free: 5.527 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000703/0.1832, allocations: 132 kB / 0.6568 GB, free: 5.398 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009664/0.1841, allocations: 271.9 kB / 0.6571 GB, free: 5.133 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000609/0.1848, allocations: 350.5 kB / 0.6574 GB, free: 4.789 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.1859, allocations: 0.703 MB / 0.6581 GB, free: 4.082 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.1879, allocations: 1.728 MB / 0.6598 GB, free: 2.348 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1879, allocations: 0 / 0.6598 GB, free: 2.348 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1879, allocations: 4 kB / 0.6598 GB, free: 2.344 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.545e-05/0.188, allocations: 0 / 0.6598 GB, free: 2.344 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.01022/0.1983, allocations: 2.774 MB / 0.6625 GB, free: 15.5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1983, allocations: 12.03 kB / 0.6625 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005397/0.2037, allocations: 0.7748 MB / 0.6633 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/0.2059, allocations: 0.9296 MB / 0.6642 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000337/0.2062, allocations: 264.2 kB / 0.6644 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003162/0.2066, allocations: 87.91 kB / 0.6645 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.2092, allocations: 1.11 MB / 0.6656 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.2093, allocations: 3.938 kB / 0.6656 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.2094, allocations: 32 kB / 0.6656 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.2094, allocations: 16 kB / 0.6656 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/0.2116, allocations: 0.9995 MB / 0.6666 GB, free: 11.17 MB / 478.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.007594/0.2192, allocations: 3.891 MB / 0.6704 GB, free: 7.102 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007716/0.227, allocations: 2.405 MB / 0.6728 GB, free: 4.602 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.2285, allocations: 0.6918 MB / 0.6734 GB, free: 3.906 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.2287, allocations: 12.98 kB / 0.6735 GB, free: 3.895 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001817/0.2305, allocations: 0.8372 MB / 0.6743 GB, free: 3.039 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 5.33e-06/0.2305, allocations: 0 / 0.6743 GB, free: 3.039 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.0295/0.26, allocations: 7.093 MB / 0.6812 GB, free: 11.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/0.2602, allocations: 119.8 kB / 0.6813 GB, free: 11.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/0.2622, allocations: 1.143 MB / 0.6824 GB, free: 10.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002391/0.2625, allocations: 45.7 kB / 0.6825 GB, free: 10.53 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004529/0.2629, allocations: 0.4969 MB / 0.683 GB, free: 10.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005071/0.2635, allocations: 366.9 kB / 0.6833 GB, free: 9.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006761/0.2641, allocations: 299.4 kB / 0.6836 GB, free: 9.363 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.2642, allocations: 301.1 kB / 0.6839 GB, free: 9.066 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/0.266, allocations: 0.7965 MB / 0.6847 GB, free: 8.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/0.2679, allocations: 0.9694 MB / 0.6856 GB, free: 7.262 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02609/0.294, allocations: 5.926 MB / 0.6914 GB, free: 1.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.294, allocations: 3.938 kB / 0.6914 GB, free: 1.246 MB / 494.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01496/0.309, allocations: 4.504 MB / 0.6958 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.261e-05/0.3091, allocations: 63.39 kB / 0.6959 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.3091, allocations: 4 kB / 0.6959 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006466/0.3156, allocations: 1.662 MB / 0.6975 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.3172, allocations: 303.5 kB / 0.6978 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02131/0.3385, allocations: 8.613 MB / 0.7062 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/0.3407, allocations: 210.6 kB / 0.7064 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003122/0.3411, allocations: 59.97 kB / 0.7064 GB, free: 1.641 MB / 0.4981 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 order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (171): * Single equations (assignments): 168 * 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): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008562/0.3419, allocations: 310 kB / 0.7067 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003829/0.3423, allocations: 126.4 kB / 0.7069 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/0.3558, allocations: 3.924 MB / 0.7107 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.3558, allocations: 11.98 kB / 0.7107 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-05/0.3559, allocations: 12 kB / 0.7107 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.352e-05/0.3559, allocations: 3.984 kB / 0.7107 GB, free: 13.22 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 postOpt removeSimpleEquations (simulation): time 0.01727/0.3732, allocations: 5.553 MB / 0.7161 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/0.3733, allocations: 4 kB / 0.7161 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007857/0.3741, allocations: 99.89 kB / 0.7162 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00572/0.3798, allocations: 1.595 MB / 0.7178 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002341/0.3801, allocations: 23.98 kB / 0.7178 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02143/0.4015, allocations: 9.626 MB / 0.7272 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.4016, allocations: 8 kB / 0.7272 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/0.417, allocations: 4.801 MB / 0.7319 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006054/0.4177, allocations: 227.3 kB / 0.7321 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005133/0.4182, allocations: 27.94 kB / 0.7322 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/0.4198, allocations: 107.9 kB / 0.7323 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007412/0.4206, allocations: 192.7 kB / 0.7324 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/0.4208, allocations: 31.98 kB / 0.7325 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001473/0.4223, allocations: 0.7634 MB / 0.7332 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4223, allocations: 0 / 0.7332 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002016/0.4243, allocations: 491.5 kB / 0.7337 GB, free: 5.227 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (66): * Single equations (assignments): 63 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004328/0.4248, allocations: 151.5 kB / 0.7338 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007469/0.4322, allocations: 2.62 MB / 0.7364 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.4323, allocations: 0 / 0.7364 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004713/0.437, allocations: 1.62 MB / 0.738 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.4387, allocations: 114.9 kB / 0.7381 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005413/0.4441, allocations: 2.458 MB / 0.7405 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008466/0.445, allocations: 1.139 MB / 0.7416 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004495/0.4455, allocations: 83.41 kB / 0.7417 GB, free: 12.89 MB / 0.545 GB Notification: Performance of SimCode: time 9.51e-07/0.4455, allocations: 8 kB / 0.7417 GB, free: 12.89 MB / 0.545 GB Notification: Performance of Templates: time 0.03875/0.4843, allocations: 24.32 MB / 0.7654 GB, free: 4.559 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)