Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, 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 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007943/0.0007944, allocations: 95.75 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06003/0.06003, allocations: 12.2 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2796/0.2796, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.138e-05/3.165e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.109, allocations: 69.25 MB / 0.5889 GB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3989/0.5079, allocations: 104.1 MB / 0.6906 GB, free: 12.3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.5082, allocations: 76.58 kB / 0.6907 GB, free: 12.26 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2534/0.7617, allocations: 97.84 MB / 0.7862 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7617, allocations: 0 / 0.7862 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003829/0.7621, allocations: 95.94 kB / 0.7863 GB, free: 4.582 MB / 0.5105 GB 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.01852/0.7807, allocations: 5.782 MB / 0.7919 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.7807, allocations: 11.98 kB / 0.792 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00165/0.7824, allocations: 492.9 kB / 0.7924 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01698/0.7994, allocations: 2.779 MB / 0.7951 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005914/0.8053, allocations: 2.253 MB / 0.7973 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001087/0.8065, allocations: 0.9847 MB / 0.7983 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001444/0.8079, allocations: 343.9 kB / 0.7986 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/0.82, allocations: 4.1 MB / 0.8026 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000157/0.8202, allocations: 0 / 0.8026 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001196/0.8214, allocations: 140 kB / 0.8028 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.918e-05/0.8215, allocations: 87.95 kB / 0.8029 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009688/0.8312, allocations: 3.624 MB / 0.8064 GB, free: 15.66 MB / 0.5417 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.04209/0.8733, allocations: 18.64 MB / 0.8246 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0118/0.8852, allocations: 4.813 MB / 0.8293 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004521/0.8897, allocations: 2.229 MB / 0.8315 GB, free: 4.703 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000789/0.8906, allocations: 78.92 kB / 0.8315 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006112/0.8967, allocations: 2.612 MB / 0.8341 GB, free: 1.973 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=384): time 7.844e-06/0.8967, allocations: 0 / 0.8341 GB, free: 1.973 MB / 0.5573 GB Notification: Performance of matching and sorting (n=384): time 0.05627/0.953, allocations: 17.6 MB / 0.8513 GB, free: 316 kB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.893e-05/0.9532, allocations: 145.8 kB / 0.8514 GB, free: 144 kB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005412/0.9586, allocations: 2.682 MB / 0.854 GB, free: 13.44 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0009683/0.9596, allocations: 89.7 kB / 0.8541 GB, free: 13.35 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001764/0.9614, allocations: 1.998 MB / 0.8561 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.002153/0.9635, allocations: 1.309 MB / 0.8574 GB, free: 10 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000797/0.9643, allocations: 72 kB / 0.8574 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003391/0.9647, allocations: 445.8 kB / 0.8579 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004259/0.969, allocations: 1.847 MB / 0.8597 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004578/0.9736, allocations: 2.422 MB / 0.862 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004535/0.9781, allocations: 2.103 MB / 0.8641 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.633e-05/0.9782, allocations: 7.953 kB / 0.8641 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.3466/1.325, allocations: 17.76 MB / 0.8814 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-05/1.325, allocations: 67.25 kB / 0.8815 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.316e-05/1.325, allocations: 14.22 kB / 0.8815 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02507/1.35, allocations: 6.971 MB / 0.8883 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003514/1.354, allocations: 0.5767 MB / 0.8889 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05454/1.408, allocations: 25.73 MB / 0.914 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005955/1.414, allocations: 0.6989 MB / 0.9147 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/1.415, allocations: 136.8 kB / 0.9148 GB, free: 128.2 MB / 0.5886 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.001023/1.416, allocations: 333.6 kB / 0.9151 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/1.418, allocations: 463 kB / 0.9156 GB, free: 127.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04858/1.466, allocations: 18.15 MB / 0.9333 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.221e-05/1.466, allocations: 40.52 kB / 0.9333 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.374e-05/1.466, allocations: 33.09 kB / 0.9334 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.129e-05/1.466, allocations: 17.86 kB / 0.9334 GB, free: 125.7 MB / 0.5886 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.05594/1.522, allocations: 23.11 MB / 0.9559 GB, free: 117.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.283e-05/1.522, allocations: 8.031 kB / 0.956 GB, free: 117.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/1.525, allocations: 389 kB / 0.9563 GB, free: 117.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02118/1.546, allocations: 7.013 MB / 0.9632 GB, free: 112.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001055/1.547, allocations: 74.19 kB / 0.9632 GB, free: 112.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05192/1.599, allocations: 24.59 MB / 0.9873 GB, free: 90.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.599, allocations: 4 kB / 0.9873 GB, free: 90.05 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05374/1.653, allocations: 20.99 MB / 1.008 GB, free: 72.87 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001776/1.655, allocations: 0.5638 MB / 1.008 GB, free: 72.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001526/1.656, allocations: 64 kB / 1.008 GB, free: 72.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004664/1.661, allocations: 498.2 kB / 1.009 GB, free: 71.92 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002811/1.664, allocations: 0.779 MB / 1.01 GB, free: 71.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003399/1.664, allocations: 91.42 kB / 1.01 GB, free: 71.41 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002538/1.667, allocations: 2.039 MB / 1.012 GB, free: 69.53 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.5e-07/1.667, allocations: 4 kB / 1.012 GB, free: 69.52 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004379/1.671, allocations: 1.763 MB / 1.013 GB, free: 67.83 MB / 0.5886 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.05189/1.723, allocations: 21.74 MB / 1.035 GB, free: 49.85 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02143/1.744, allocations: 8.249 MB / 1.043 GB, free: 42.29 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.744, allocations: 4.125 kB / 1.043 GB, free: 42.29 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01655/1.761, allocations: 6.118 MB / 1.049 GB, free: 36.82 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/1.764, allocations: 310.5 kB / 1.049 GB, free: 36.52 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/1.777, allocations: 6.655 MB / 1.055 GB, free: 29.85 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/1.778, allocations: 2.539 MB / 1.058 GB, free: 27.27 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001361/1.78, allocations: 304.3 kB / 1.058 GB, free: 26.98 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001912/1.782, allocations: 1.979 MB / 1.06 GB, free: 25 MB / 0.5886 GB Notification: Performance of SimCode: time 6.91e-07/1.782, allocations: 0 / 1.06 GB, free: 25 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4194/2.201, allocations: 114 MB / 1.172 GB, free: 141 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/2.201, allocations: 194.3 kB / 1.172 GB, free: 140.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.507/8.708, allocations: 0 / 1.172 GB, free: 140.8 MB / 0.6042 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)