Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005857/0.005857, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.453/1.453, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001843/0.001843, allocations: 184.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5436/0.5436, allocations: 91.89 MB / 431.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 77.03 kB / 0.5728 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1673, allocations: 71.29 MB / 0.6425 GB, free: 3.477 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.02113/0.1885, allocations: 21.74 MB / 0.6637 GB, free: 13.65 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01535/0.2039, allocations: 4.849 MB / 0.6684 GB, free: 8.781 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006454/0.2104, allocations: 44 kB / 0.6685 GB, free: 8.738 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004066/0.2146, allocations: 0.8867 MB / 0.6693 GB, free: 7.844 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009573/0.2242, allocations: 2.281 MB / 0.6716 GB, free: 5.555 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006977/0.2312, allocations: 2.051 MB / 0.6736 GB, free: 3.535 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01045/0.2416, allocations: 5.708 MB / 0.6791 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002447/0.2441, allocations: 1.321 MB / 0.6804 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004166/0.2483, allocations: 2.322 MB / 0.6827 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005021/0.2534, allocations: 2.939 MB / 0.6856 GB, free: 7.145 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001703/0.2551, allocations: 440 kB / 0.686 GB, free: 6.715 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.2572, allocations: 0.578 MB / 0.6865 GB, free: 6.137 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.2583, allocations: 1.151 MB / 0.6877 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003675/0.262, allocations: 2.606 MB / 0.6902 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008101/0.2701, allocations: 6.212 MB / 0.6963 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.2702, allocations: 4 kB / 0.6963 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2702, allocations: 0 / 0.6963 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002427/0.2704, allocations: 4 kB / 0.6963 GB, free: 12.12 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03321/0.3037, allocations: 9.15 MB / 0.7052 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.3037, allocations: 8.031 kB / 0.7052 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02807/0.3318, allocations: 4.013 MB / 0.7091 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006528/0.3384, allocations: 2.654 MB / 0.7117 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001101/0.3395, allocations: 0.9612 MB / 0.7127 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00128/0.3408, allocations: 347.9 kB / 0.713 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.3522, allocations: 4.723 MB / 0.7176 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.575e-05/0.3523, allocations: 3.938 kB / 0.7176 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003931/0.3527, allocations: 144 kB / 0.7178 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.566e-05/0.3528, allocations: 87.94 kB / 0.7178 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00969/0.3625, allocations: 4.244 MB / 0.722 GB, free: 1.434 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.04087/0.4034, allocations: 18.18 MB / 0.7397 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01448/0.4179, allocations: 4.988 MB / 0.7446 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007409/0.4254, allocations: 2.779 MB / 0.7473 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009966/0.4264, allocations: 74.81 kB / 0.7474 GB, free: 6.125 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009649/0.4361, allocations: 3.165 MB / 0.7505 GB, free: 2.918 MB / 0.545 GB Notification: Performance of pre-optimization done (n=382): time 1.596e-05/0.4362, allocations: 0 / 0.7505 GB, free: 2.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=382): time 0.6989/1.135, allocations: 68.2 MB / 0.8171 GB, free: 83.35 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/1.135, allocations: 141.8 kB / 0.8172 GB, free: 83.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004227/1.139, allocations: 3.227 MB / 0.8204 GB, free: 80.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001156/1.141, allocations: 86.89 kB / 0.8205 GB, free: 80.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001194/1.142, allocations: 1.971 MB / 0.8224 GB, free: 79.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001653/1.144, allocations: 1.313 MB / 0.8237 GB, free: 78.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001233/1.145, allocations: 0.6703 MB / 0.8243 GB, free: 77.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.186e-05/1.145, allocations: 305.1 kB / 0.8246 GB, free: 77.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00494/1.15, allocations: 2.573 MB / 0.8271 GB, free: 74.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005169/1.155, allocations: 3.205 MB / 0.8303 GB, free: 71.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06549/1.22, allocations: 18.75 MB / 0.8486 GB, free: 52.17 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.201e-05/1.221, allocations: 4 kB / 0.8486 GB, free: 52.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05311/1.274, allocations: 16.93 MB / 0.8651 GB, free: 35.19 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.639e-05/1.274, allocations: 67.41 kB / 0.8652 GB, free: 35.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-05/1.274, allocations: 16 kB / 0.8652 GB, free: 35.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02435/1.298, allocations: 7.229 MB / 0.8723 GB, free: 27.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003486/1.302, allocations: 0.6592 MB / 0.8729 GB, free: 27.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08319/1.385, allocations: 33.71 MB / 0.9058 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006757/1.392, allocations: 0.6141 MB / 0.9064 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009887/1.393, allocations: 160 kB / 0.9066 GB, free: 8.574 MB / 0.5762 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 (398): * Single equations (assignments): 395 * 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,45)} Notification: Performance of prepare postOptimizeDAE: time 0.002204/1.395, allocations: 0.6598 MB / 0.9072 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001384/1.396, allocations: 454.4 kB / 0.9077 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05716/1.454, allocations: 16.84 MB / 0.9241 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.507e-05/1.454, allocations: 36 kB / 0.9241 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.053e-05/1.454, allocations: 30.94 kB / 0.9242 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001188/1.454, allocations: 20.86 kB / 0.9242 GB, free: 6.461 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.06752/1.521, allocations: 21.83 MB / 0.9455 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-05/1.521, allocations: 0 / 0.9455 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00255/1.524, allocations: 387.5 kB / 0.9459 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02736/1.551, allocations: 7.373 MB / 0.9531 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001156/1.553, allocations: 75.98 kB / 0.9531 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09653/1.649, allocations: 31.8 MB / 0.9842 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.649, allocations: 0 / 0.9842 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07939/1.729, allocations: 20.21 MB / 1.004 GB, free: 4.32 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/1.73, allocations: 0.5456 MB / 1.004 GB, free: 3.75 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00187/1.732, allocations: 68 kB / 1.005 GB, free: 3.684 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005705/1.738, allocations: 379.5 kB / 1.005 GB, free: 3.312 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003997/1.742, allocations: 0.7805 MB / 1.006 GB, free: 2.531 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009187/1.743, allocations: 95.98 kB / 1.006 GB, free: 2.438 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00354/1.746, allocations: 2.113 MB / 1.008 GB, free: 328 kB / 0.67 GB Notification: Performance of sort global known variables: time 3.11e-07/1.746, allocations: 0 / 1.008 GB, free: 328 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.006792/1.753, allocations: 1.8 MB / 1.01 GB, free: 14.52 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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 {(100,36,5.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008087/1.754, allocations: 187.8 kB / 1.01 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02839/1.782, allocations: 9.278 MB / 1.019 GB, free: 5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/1.782, allocations: 4 kB / 1.019 GB, free: 4.996 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.02266/1.805, allocations: 6.176 MB / 1.025 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005401/1.811, allocations: 392 kB / 1.025 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02014/1.831, allocations: 7.781 MB / 1.033 GB, free: 6.586 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002343/1.833, allocations: 2.447 MB / 1.035 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001777/1.835, allocations: 371.1 kB / 1.036 GB, free: 3.734 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000852/1.836, allocations: 247.4 kB / 1.036 GB, free: 3.492 MB / 0.7012 GB Notification: Performance of SimCode: time 9.21e-07/1.836, allocations: 0 / 1.036 GB, free: 3.492 MB / 0.7012 GB Notification: Performance of Templates: time 0.4633/2.299, allocations: 93.12 MB / 1.127 GB, free: 177.1 MB / 0.7012 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)