Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.345/1.345, allocations: 221.4 MB / 234.6 MB, free: 14.39 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.0009095/0.0009095, allocations: 87.23 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.541/0.541, allocations: 78.91 MB / 415.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.8e-05/2.802e-05, allocations: 4 kB / 492.8 MB, free: 13.1 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3616, allocations: 69.5 MB / 0.5491 GB, free: 19.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.4832, allocations: 103.2 MB / 0.6499 GB, free: 12.38 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.4835, allocations: 83.94 kB / 0.65 GB, free: 12.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.563/1.047, allocations: 102.8 MB / 0.7504 GB, free: 57.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.903e-06/1.047, allocations: 0 / 0.7504 GB, free: 57.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004263/1.047, allocations: 87.94 kB / 0.7505 GB, free: 56.93 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.0189/1.066, allocations: 5.774 MB / 0.7561 GB, free: 51.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.066, allocations: 19.91 kB / 0.7561 GB, free: 51.06 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01891/1.085, allocations: 2.783 MB / 0.7589 GB, free: 48.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006164/1.091, allocations: 2.257 MB / 0.7611 GB, free: 45.94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001005/1.092, allocations: 0.9886 MB / 0.762 GB, free: 44.81 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001625/1.094, allocations: 340 kB / 0.7624 GB, free: 44.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/1.106, allocations: 4.096 MB / 0.7664 GB, free: 40.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001495/1.106, allocations: 0 / 0.7664 GB, free: 40.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001272/1.107, allocations: 144 kB / 0.7665 GB, free: 40.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.963e-05/1.107, allocations: 84 kB / 0.7666 GB, free: 40.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008705/1.116, allocations: 3.624 MB / 0.7701 GB, free: 36.5 MB / 490.7 MB 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.03767/1.154, allocations: 18.65 MB / 0.7883 GB, free: 16.67 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/1.164, allocations: 4.817 MB / 0.793 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003704/1.168, allocations: 2.232 MB / 0.7952 GB, free: 9.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006309/1.168, allocations: 66.94 kB / 0.7953 GB, free: 9.453 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004802/1.173, allocations: 2.612 MB / 0.7978 GB, free: 6.801 MB / 490.7 MB Notification: Performance of pre-optimization done (n=384): time 7.705e-06/1.173, allocations: 0 / 0.7978 GB, free: 6.801 MB / 490.7 MB Notification: Performance of matching and sorting (n=384): time 0.05764/1.231, allocations: 17.6 MB / 0.815 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/1.231, allocations: 145.8 kB / 0.8152 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006223/1.237, allocations: 2.686 MB / 0.8178 GB, free: 2.266 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001295/1.239, allocations: 85.7 kB / 0.8179 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00198/1.241, allocations: 1.998 MB / 0.8198 GB, free: 164 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002801/1.243, allocations: 1.309 MB / 0.8211 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003646/1.244, allocations: 76 kB / 0.8212 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003467/1.244, allocations: 445.8 kB / 0.8216 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003575/1.248, allocations: 1.843 MB / 0.8234 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003917/1.252, allocations: 2.422 MB / 0.8258 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003774/1.256, allocations: 2.106 MB / 0.8278 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/1.256, allocations: 8 kB / 0.8278 GB, free: 7.711 MB / 0.5105 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05512/1.311, allocations: 17.76 MB / 0.8452 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.144e-05/1.311, allocations: 63.41 kB / 0.8452 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/1.311, allocations: 16 kB / 0.8452 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02453/1.335, allocations: 6.973 MB / 0.8521 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003537/1.339, allocations: 0.5656 MB / 0.8526 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06223/1.401, allocations: 25.75 MB / 0.8777 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00665/1.408, allocations: 0.723 MB / 0.8785 GB, free: 3.602 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/1.409, allocations: 128 kB / 0.8786 GB, free: 3.477 MB / 0.5573 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (333): * Single equations (assignments): 330 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009591/1.41, allocations: 339 kB / 0.8789 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001496/1.411, allocations: 458.3 kB / 0.8793 GB, free: 2.676 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05707/1.469, allocations: 18.15 MB / 0.8971 GB, free: 464 kB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.852e-05/1.469, allocations: 40 kB / 0.8971 GB, free: 424 kB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.1e-05/1.469, allocations: 28 kB / 0.8971 GB, free: 396 kB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001569/1.469, allocations: 19.92 kB / 0.8971 GB, free: 376 kB / 0.573 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.4235/1.892, allocations: 23.11 MB / 0.9197 GB, free: 134.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.778e-05/1.892, allocations: 0 / 0.9197 GB, free: 134.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002536/1.895, allocations: 391.9 kB / 0.9201 GB, free: 134.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02319/1.918, allocations: 7.014 MB / 0.9269 GB, free: 134.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001246/1.919, allocations: 72.86 kB / 0.927 GB, free: 134.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05335/1.973, allocations: 24.59 MB / 0.951 GB, free: 126.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.973, allocations: 3.844 kB / 0.951 GB, free: 126.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05788/2.031, allocations: 20.99 MB / 0.9715 GB, free: 116.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001802/2.033, allocations: 0.5652 MB / 0.9721 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001341/2.034, allocations: 60 kB / 0.9721 GB, free: 116.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005076/2.039, allocations: 0.5047 MB / 0.9726 GB, free: 115.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003174/2.042, allocations: 0.7885 MB / 0.9734 GB, free: 115.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004094/2.043, allocations: 91.8 kB / 0.9735 GB, free: 115.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002743/2.045, allocations: 2.037 MB / 0.9755 GB, free: 113.4 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/2.045, allocations: 0 / 0.9755 GB, free: 113.4 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005355/2.051, allocations: 1.771 MB / 0.9772 GB, free: 111.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 245 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(96,5.5%) 40} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006267/2.051, allocations: 222.1 kB / 0.9774 GB, free: 111.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02025/2.072, allocations: 8.241 MB / 0.9855 GB, free: 104.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/2.072, allocations: 3 kB / 0.9855 GB, free: 104.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01775/2.089, allocations: 6.115 MB / 0.9914 GB, free: 98.69 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003547/2.093, allocations: 324.9 kB / 0.9917 GB, free: 98.39 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/2.106, allocations: 5.973 MB / 0.9976 GB, free: 92.93 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/2.107, allocations: 2.54 MB / 1 GB, free: 91.04 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001779/2.109, allocations: 300.2 kB / 1 GB, free: 90.84 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007756/2.11, allocations: 200.5 kB / 1.001 GB, free: 90.66 MB / 0.573 GB Notification: Performance of SimCode: time 8.32e-07/2.11, allocations: 0 / 1.001 GB, free: 90.66 MB / 0.573 GB Notification: Performance of Templates: time 0.1108/2.221, allocations: 78.64 MB / 1.077 GB, free: 25.02 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)