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.001636/0.001636, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 239.2 MB, free: 4.609 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.00193/0.00193, allocations: 196.5 kB / 289.5 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5688/0.5688, allocations: 92.6 MB / 432.3 MB, free: 8.613 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 79.88 kB / 0.5027 GB, free: 6.926 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.435, allocations: 71.4 MB / 0.5724 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01905/0.4541, allocations: 21.97 MB / 0.5939 GB, free: 20.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.468, allocations: 4.914 MB / 0.5987 GB, free: 17.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007115/0.4752, allocations: 43.5 kB / 0.5987 GB, free: 17.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004231/0.4794, allocations: 0.8883 MB / 0.5996 GB, free: 16.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01154/0.4911, allocations: 2.059 MB / 0.6016 GB, free: 15.49 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007436/0.4985, allocations: 2.077 MB / 0.6036 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0126/0.5112, allocations: 5.76 MB / 0.6093 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004403/0.5156, allocations: 1.321 MB / 0.6105 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00643/0.5221, allocations: 2.344 MB / 0.6128 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006961/0.5291, allocations: 2.986 MB / 0.6157 GB, free: 8.094 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003631/0.5328, allocations: 446.2 kB / 0.6162 GB, free: 8.094 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005146/0.5379, allocations: 0.5897 MB / 0.6167 GB, free: 8.051 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003651/0.5416, allocations: 1.168 MB / 0.6179 GB, free: 7.254 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008848/0.5505, allocations: 2.637 MB / 0.6205 GB, free: 5.484 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01654/0.5671, allocations: 6.225 MB / 0.6265 GB, free: 2.582 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.936e-06/0.5671, allocations: 3.938 kB / 0.6265 GB, free: 2.578 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5671, allocations: 4 kB / 0.6265 GB, free: 2.574 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003808/0.5675, allocations: 0 / 0.6265 GB, free: 2.574 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.04441/0.612, allocations: 9.248 MB / 0.6356 GB, free: 12.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.612, allocations: 12.03 kB / 0.6356 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02967/0.6417, allocations: 4.012 MB / 0.6395 GB, free: 8.941 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008859/0.6506, allocations: 2.69 MB / 0.6421 GB, free: 6.168 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001418/0.6521, allocations: 0.9535 MB / 0.6431 GB, free: 5.078 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002199/0.6543, allocations: 356 kB / 0.6434 GB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.6724, allocations: 4.751 MB / 0.648 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001745/0.6726, allocations: 0 / 0.648 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001873/0.6745, allocations: 140 kB / 0.6482 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/0.6746, allocations: 88 kB / 0.6483 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01395/0.6885, allocations: 4.259 MB / 0.6524 GB, free: 11.46 MB / 462.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.05018/0.7388, allocations: 18.43 MB / 0.6704 GB, free: 7.855 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01527/0.7541, allocations: 5.037 MB / 0.6753 GB, free: 2.738 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008106/0.7623, allocations: 2.794 MB / 0.6781 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/0.7634, allocations: 70.84 kB / 0.6781 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009495/0.7729, allocations: 3.197 MB / 0.6813 GB, free: 12.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=385): time 9.869e-06/0.7729, allocations: 0 / 0.6813 GB, free: 12.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=385): time 0.3174/1.09, allocations: 66.82 MB / 0.7465 GB, free: 9.613 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001698/1.091, allocations: 145.8 kB / 0.7466 GB, free: 9.445 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007361/1.098, allocations: 3.263 MB / 0.7498 GB, free: 6.164 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001315/1.099, allocations: 93.73 kB / 0.7499 GB, free: 6.066 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001991/1.101, allocations: 1.974 MB / 0.7518 GB, free: 4.078 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003119/1.104, allocations: 1.328 MB / 0.7531 GB, free: 2.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002024/1.106, allocations: 0.6862 MB / 0.7538 GB, free: 2.031 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001581/1.107, allocations: 305.1 kB / 0.7541 GB, free: 1.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007206/1.114, allocations: 2.616 MB / 0.7567 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009046/1.123, allocations: 3.253 MB / 0.7598 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.437/1.56, allocations: 19.19 MB / 0.7786 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.628e-05/1.56, allocations: 5.344 kB / 0.7786 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.06025/1.62, allocations: 17.24 MB / 0.7954 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.309e-05/1.621, allocations: 66.88 kB / 0.7955 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.591e-05/1.621, allocations: 14.88 kB / 0.7955 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02802/1.649, allocations: 7.312 MB / 0.8026 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004056/1.653, allocations: 0.6905 MB / 0.8033 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08393/1.737, allocations: 33.89 MB / 0.8364 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007042/1.744, allocations: 0.6218 MB / 0.837 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001361/1.745, allocations: 156 kB / 0.8372 GB, free: 130.5 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 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.003175/1.748, allocations: 0.6737 MB / 0.8378 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0018/1.75, allocations: 458.3 kB / 0.8383 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05105/1.801, allocations: 16.88 MB / 0.8547 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.098e-05/1.801, allocations: 36 kB / 0.8548 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-05/1.801, allocations: 28 kB / 0.8548 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001093/1.801, allocations: 27.92 kB / 0.8548 GB, free: 112.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.05962/1.861, allocations: 21.91 MB / 0.8762 GB, free: 90.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.516e-05/1.861, allocations: 4 kB / 0.8762 GB, free: 90.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00251/1.864, allocations: 387.5 kB / 0.8766 GB, free: 89.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02408/1.888, allocations: 7.36 MB / 0.8838 GB, free: 82.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00115/1.889, allocations: 75.98 kB / 0.8839 GB, free: 82.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07331/1.962, allocations: 31.88 MB / 0.915 GB, free: 50.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.962, allocations: 0 / 0.915 GB, free: 50.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05812/2.02, allocations: 20.28 MB / 0.9348 GB, free: 29.99 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001784/2.022, allocations: 0.5648 MB / 0.9354 GB, free: 29.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001373/2.024, allocations: 64 kB / 0.9354 GB, free: 29.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004713/2.028, allocations: 379.5 kB / 0.9358 GB, free: 28.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002854/2.031, allocations: 0.7805 MB / 0.9365 GB, free: 28.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003117/2.032, allocations: 95.98 kB / 0.9366 GB, free: 28.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002574/2.034, allocations: 2.145 MB / 0.9387 GB, free: 25.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/2.034, allocations: 0 / 0.9387 GB, free: 25.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005564/2.04, allocations: 1.825 MB / 0.9405 GB, free: 24.12 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 (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.0005929/2.04, allocations: 193.6 kB / 0.9407 GB, free: 23.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0294/2.07, allocations: 9.51 MB / 0.95 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/2.07, allocations: 0 / 0.95 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01862/2.088, allocations: 6.205 MB / 0.956 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00418/2.093, allocations: 395.5 kB / 0.9564 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/2.108, allocations: 8.13 MB / 0.9644 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002716/2.111, allocations: 2.455 MB / 0.9668 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002156/2.113, allocations: 375.2 kB / 0.9671 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000923/2.114, allocations: 255.4 kB / 0.9674 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of SimCode: time 1.332e-06/2.114, allocations: 0 / 0.9674 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of Templates: time 0.4919/2.606, allocations: 93.31 MB / 1.058 GB, free: 152.9 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)