Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 176.1 kB / 7.643 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.331/1.331, allocations: 221.5 MB / 229.6 MB, free: 7.562 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.0008838/0.0008838, allocations: 98.36 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4741/0.4741, allocations: 78.07 MB / 409.3 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.709e-05/1.704e-05, allocations: 11.97 kB / 484.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1259, allocations: 69.36 MB / 0.5413 GB, free: 6.801 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3923/0.5182, allocations: 100.7 MB / 0.6397 GB, free: 14.8 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.5185, allocations: 80.77 kB / 0.6397 GB, free: 14.72 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2512/0.7698, allocations: 98.59 MB / 0.736 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7698, allocations: 0 / 0.736 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0005036/0.7703, allocations: 87.94 kB / 0.7361 GB, free: 11.64 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.02132/0.7917, allocations: 5.743 MB / 0.7417 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.7917, allocations: 13.25 kB / 0.7417 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01855/0.8103, allocations: 2.776 MB / 0.7444 GB, free: 3.031 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006953/0.8173, allocations: 2.225 MB / 0.7466 GB, free: 0.7305 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001291/0.8186, allocations: 0.8597 MB / 0.7474 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001825/0.8205, allocations: 207.9 kB / 0.7476 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009909/0.8304, allocations: 3.439 MB / 0.751 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01157/0.842, allocations: 3.582 MB / 0.7545 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.315e-05/0.8422, allocations: 3 kB / 0.7545 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004572/0.8426, allocations: 0 / 0.7545 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-05/0.8427, allocations: 84 kB / 0.7546 GB, free: 8.398 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.3454/1.188, allocations: 18.03 MB / 0.7722 GB, free: 86.26 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009608/1.198, allocations: 4.688 MB / 0.7768 GB, free: 85.83 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00333/1.201, allocations: 2.114 MB / 0.7788 GB, free: 85.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004328/1.202, allocations: 71.31 kB / 0.7789 GB, free: 85.8 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003682/1.205, allocations: 2.478 MB / 0.7813 GB, free: 85.66 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 6.452e-06/1.205, allocations: 4.016 kB / 0.7813 GB, free: 85.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.05048/1.256, allocations: 17.28 MB / 0.7982 GB, free: 85.12 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/1.256, allocations: 142.6 kB / 0.7983 GB, free: 84.99 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00497/1.261, allocations: 2.441 MB / 0.8007 GB, free: 84.71 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001021/1.262, allocations: 25.7 kB / 0.8007 GB, free: 84.68 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001471/1.263, allocations: 1.99 MB / 0.8027 GB, free: 84.25 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001915/1.265, allocations: 1.247 MB / 0.8039 GB, free: 83.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002959/1.266, allocations: 1.938 kB / 0.8039 GB, free: 83.59 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002127/1.266, allocations: 448.9 kB / 0.8043 GB, free: 83.28 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0028/1.269, allocations: 1.761 MB / 0.806 GB, free: 83.27 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003155/1.272, allocations: 2.318 MB / 0.8083 GB, free: 82.72 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003243/1.275, allocations: 1.951 MB / 0.8102 GB, free: 82.65 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.38e-05/1.275, allocations: 12.17 kB / 0.8102 GB, free: 82.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.05138/1.326, allocations: 17.33 MB / 0.8272 GB, free: 81.56 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/1.327, allocations: 67.09 kB / 0.8272 GB, free: 81.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.928e-05/1.327, allocations: 14.22 kB / 0.8272 GB, free: 81.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02178/1.348, allocations: 6.9 MB / 0.834 GB, free: 81.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00309/1.352, allocations: 0.5621 MB / 0.8345 GB, free: 81.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0524/1.404, allocations: 25.24 MB / 0.8592 GB, free: 71.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006391/1.41, allocations: 0.6313 MB / 0.8598 GB, free: 71.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001218/1.412, allocations: 130.2 kB / 0.8599 GB, free: 71.4 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (329): * Single equations (assignments): 326 * 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.001071/1.413, allocations: 204.9 kB / 0.8601 GB, free: 71.25 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001632/1.414, allocations: 459 kB / 0.8605 GB, free: 71.02 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04652/1.461, allocations: 17.74 MB / 0.8779 GB, free: 65.64 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.083e-05/1.461, allocations: 36 kB / 0.8779 GB, free: 65.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.826e-05/1.461, allocations: 29.25 kB / 0.8779 GB, free: 65.57 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001069/1.461, allocations: 19.08 kB / 0.8779 GB, free: 65.57 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.05481/1.516, allocations: 22.34 MB / 0.8998 GB, free: 48.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.561e-05/1.516, allocations: 0 / 0.8998 GB, free: 48.71 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002304/1.518, allocations: 383.5 kB / 0.9001 GB, free: 48.37 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02038/1.539, allocations: 6.972 MB / 0.9069 GB, free: 42.97 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001271/1.54, allocations: 15.8 kB / 0.907 GB, free: 42.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04628/1.586, allocations: 24.16 MB / 0.9305 GB, free: 21.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.586, allocations: 4.953 kB / 0.9306 GB, free: 21.38 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05084/1.637, allocations: 20.58 MB / 0.9507 GB, free: 4.484 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/1.639, allocations: 0.557 MB / 0.9512 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001327/1.64, allocations: 4.703 kB / 0.9512 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004806/1.645, allocations: 438.3 kB / 0.9516 GB, free: 3.609 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00268/1.648, allocations: 0.7771 MB / 0.9524 GB, free: 3.188 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003342/1.648, allocations: 99.8 kB / 0.9525 GB, free: 3.094 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002403/1.651, allocations: 1.803 MB / 0.9542 GB, free: 1.445 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.7e-07/1.651, allocations: 0 / 0.9542 GB, free: 1.445 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00538/1.656, allocations: 1.586 MB / 0.9558 GB, free: 15.86 MB / 0.573 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 () * 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 (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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006758/1.657, allocations: 155.2 kB / 0.9559 GB, free: 15.71 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02137/1.678, allocations: 7.949 MB / 0.9637 GB, free: 8.449 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/1.678, allocations: 0 / 0.9637 GB, free: 8.449 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01731/1.695, allocations: 5.953 MB / 0.9695 GB, free: 3.18 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002803/1.698, allocations: 244.3 kB / 0.9697 GB, free: 2.953 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/1.711, allocations: 5.796 MB / 0.9754 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002007/1.713, allocations: 2.53 MB / 0.9779 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001754/1.715, allocations: 291.6 kB / 0.9781 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007711/1.715, allocations: 203.4 kB / 0.9783 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of SimCode: time 9.02e-07/1.715, allocations: 0 / 0.9783 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of Templates: time 0.4113/2.127, allocations: 72.28 MB / 1.049 GB, free: 111.8 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)