Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 171.6 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 221.5 MB / 229.6 MB, free: 7.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001075, allocations: 101.5 kB / 280.5 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4794/0.4794, allocations: 78.06 MB / 409.3 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.46e-05/1.437e-05, allocations: 4 kB / 484.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1468, allocations: 69.36 MB / 0.5413 GB, free: 6.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3987/0.5455, allocations: 101.1 MB / 0.64 GB, free: 14.49 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.5459, allocations: 75.95 kB / 0.64 GB, free: 14.41 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2504/0.7963, allocations: 97.4 MB / 0.7352 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of FrontEnd: time 6.262e-06/0.7964, allocations: 4 kB / 0.7352 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0006016/0.797, allocations: 87.94 kB / 0.7352 GB, free: 12.55 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.02017/0.8172, allocations: 5.731 MB / 0.7408 GB, free: 6.738 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.8172, allocations: 8.031 kB / 0.7409 GB, free: 6.73 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01728/0.8345, allocations: 2.772 MB / 0.7436 GB, free: 3.949 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00664/0.8412, allocations: 2.267 MB / 0.7458 GB, free: 1.605 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001113/0.8424, allocations: 0.8384 MB / 0.7466 GB, free: 0.6367 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001608/0.844, allocations: 200 kB / 0.7468 GB, free: 452 kB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009031/0.8531, allocations: 3.431 MB / 0.7501 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009839/0.8629, allocations: 3.594 MB / 0.7536 GB, free: 9.383 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.797e-05/0.8631, allocations: 3.984 kB / 0.7536 GB, free: 9.379 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007022/0.8638, allocations: 0 / 0.7536 GB, free: 9.379 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.295e-05/0.8638, allocations: 84 kB / 0.7537 GB, free: 9.297 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.3657/1.23, allocations: 18.07 MB / 0.7714 GB, free: 86.45 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009196/1.239, allocations: 4.653 MB / 0.7759 GB, free: 86.01 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003053/1.242, allocations: 2.119 MB / 0.778 GB, free: 85.98 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004528/1.242, allocations: 69.34 kB / 0.7781 GB, free: 85.97 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.166e-05/1.242, allocations: 73.14 kB / 0.7781 GB, free: 85.93 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=380): time 5.911e-06/1.242, allocations: 0 / 0.7781 GB, free: 85.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=380): time 0.04996/1.292, allocations: 17.16 MB / 0.7949 GB, free: 85.41 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/1.293, allocations: 172.4 kB / 0.795 GB, free: 85.25 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00416/1.297, allocations: 2.419 MB / 0.7974 GB, free: 84.97 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009059/1.298, allocations: 27.7 kB / 0.7974 GB, free: 84.94 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001399/1.299, allocations: 1.993 MB / 0.7994 GB, free: 84.51 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002162/1.301, allocations: 1.245 MB / 0.8006 GB, free: 83.85 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003291/1.302, allocations: 1.031 kB / 0.8006 GB, free: 83.85 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002391/1.302, allocations: 445.7 kB / 0.801 GB, free: 83.54 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002848/1.305, allocations: 1.748 MB / 0.8027 GB, free: 83.53 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003235/1.308, allocations: 2.311 MB / 0.805 GB, free: 82.97 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003316/1.311, allocations: 1.946 MB / 0.8069 GB, free: 82.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-05/1.311, allocations: 7.406 kB / 0.8069 GB, free: 82.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.05135/1.363, allocations: 17.25 MB / 0.8237 GB, free: 81.82 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001033/1.364, allocations: 6.668 MB / 0.8302 GB, free: 74.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-05/1.364, allocations: 15.78 kB / 0.8303 GB, free: 74.78 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02072/1.384, allocations: 6.84 MB / 0.8369 GB, free: 74.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002685/1.387, allocations: 0.5388 MB / 0.8375 GB, free: 74.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05002/1.437, allocations: 25.03 MB / 0.8619 GB, free: 65.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00564/1.443, allocations: 0.6202 MB / 0.8625 GB, free: 65.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009713/1.444, allocations: 131.4 kB / 0.8626 GB, free: 65.82 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/1.444, allocations: 4.844 kB / 0.8627 GB, free: 65.82 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04555/1.489, allocations: 16.77 MB / 0.879 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.859e-05/1.49, allocations: 15.72 kB / 0.879 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02036/1.51, allocations: 6.841 MB / 0.8857 GB, free: 57.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002764/1.513, allocations: 0.5285 MB / 0.8862 GB, free: 57.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05114/1.564, allocations: 25.03 MB / 0.9107 GB, free: 35.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006125/1.57, allocations: 0.5925 MB / 0.9113 GB, free: 34.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008291/1.571, allocations: 131.4 kB / 0.9114 GB, free: 34.79 MB / 0.5573 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.001035/1.572, allocations: 201.9 kB / 0.9116 GB, free: 34.59 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/1.573, allocations: 454.3 kB / 0.912 GB, free: 34.14 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04639/1.62, allocations: 17.6 MB / 0.9292 GB, free: 20.56 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.322e-05/1.62, allocations: 36 kB / 0.9292 GB, free: 20.52 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.222e-05/1.62, allocations: 28 kB / 0.9293 GB, free: 20.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001099/1.62, allocations: 21.25 kB / 0.9293 GB, free: 20.49 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.05561/1.676, allocations: 22.5 MB / 0.9513 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-05/1.676, allocations: 0 / 0.9513 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/1.678, allocations: 404.4 kB / 0.9516 GB, free: 3.055 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02931/1.707, allocations: 7.532 MB / 0.959 GB, free: 14.75 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00104/1.709, allocations: 19.98 kB / 0.959 GB, free: 14.73 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05379/1.762, allocations: 22.26 MB / 0.9808 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/1.762, allocations: 0 / 0.9808 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3745/2.137, allocations: 20.45 MB / 1.001 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/2.138, allocations: 0.5537 MB / 1.001 GB, free: 109 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009797/2.139, allocations: 6.469 kB / 1.001 GB, free: 109 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004288/2.144, allocations: 434.3 kB / 1.002 GB, free: 109 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002498/2.146, allocations: 0.7668 MB / 1.002 GB, free: 109 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003249/2.147, allocations: 89.89 kB / 1.003 GB, free: 109 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002425/2.149, allocations: 1.797 MB / 1.004 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.51e-07/2.149, allocations: 0 / 1.004 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00926/2.158, allocations: 2.609 MB / 1.007 GB, free: 108.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 248 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009124/2.159, allocations: 155.6 kB / 1.007 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0397/2.199, allocations: 13.99 MB / 1.021 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/2.199, allocations: 0 / 1.021 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01832/2.217, allocations: 5.845 MB / 1.026 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003796/2.221, allocations: 248.6 kB / 1.027 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/2.236, allocations: 5.867 MB / 1.032 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002313/2.238, allocations: 2.593 MB / 1.035 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003214/2.241, allocations: 0.6049 MB / 1.035 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000661/2.242, allocations: 175.2 kB / 1.036 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of SimCode: time 1.052e-06/2.242, allocations: 0 / 1.036 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.1521/2.394, allocations: 104 MB / 1.137 GB, free: 64.14 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)