Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_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 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 174.1 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.4/1.4, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.000804/0.000804, allocations: 84.97 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5122/0.5122, allocations: 78.09 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.58e-05/3.582e-05, allocations: 0 / 491.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3827, allocations: 69.35 MB / 0.5481 GB, free: 20.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/0.5098, allocations: 102.5 MB / 0.6482 GB, free: 13.98 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.5101, allocations: 79.95 kB / 0.6483 GB, free: 13.91 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6056/1.116, allocations: 100.9 MB / 0.7469 GB, free: 61.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/1.116, allocations: 3.938 kB / 0.7469 GB, free: 61.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000295/1.116, allocations: 87.94 kB / 0.747 GB, free: 61.01 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.01843/1.134, allocations: 5.778 MB / 0.7526 GB, free: 55.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.135, allocations: 19.91 kB / 0.7526 GB, free: 55.14 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001921/1.136, allocations: 492.8 kB / 0.7531 GB, free: 54.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01712/1.154, allocations: 2.783 MB / 0.7558 GB, free: 51.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005902/1.16, allocations: 2.249 MB / 0.758 GB, free: 49.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009494/1.161, allocations: 0.9808 MB / 0.759 GB, free: 48.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001595/1.162, allocations: 348 kB / 0.7593 GB, free: 48.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008082/1.17, allocations: 4.092 MB / 0.7633 GB, free: 43.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-05/1.17, allocations: 4 kB / 0.7633 GB, free: 43.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003698/1.171, allocations: 144 kB / 0.7634 GB, free: 43.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/1.171, allocations: 84 kB / 0.7635 GB, free: 43.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005888/1.177, allocations: 3.621 MB / 0.767 GB, free: 40.1 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.03087/1.208, allocations: 18.65 MB / 0.7853 GB, free: 20.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009846/1.217, allocations: 4.809 MB / 0.79 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004317/1.222, allocations: 2.235 MB / 0.7921 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005166/1.222, allocations: 62.94 kB / 0.7922 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004218/1.227, allocations: 2.608 MB / 0.7947 GB, free: 10.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=384): time 5.29e-06/1.227, allocations: 0 / 0.7947 GB, free: 10.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=384): time 0.05113/1.278, allocations: 17.61 MB / 0.8119 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/1.278, allocations: 145.8 kB / 0.8121 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004715/1.283, allocations: 2.678 MB / 0.8147 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001059/1.284, allocations: 89.7 kB / 0.8148 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001497/1.285, allocations: 1.998 MB / 0.8167 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001982/1.287, allocations: 1.309 MB / 0.818 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002949/1.287, allocations: 68 kB / 0.8181 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002326/1.288, allocations: 449.8 kB / 0.8185 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003341/1.291, allocations: 1.843 MB / 0.8203 GB, free: 84 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003682/1.295, allocations: 2.422 MB / 0.8227 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003627/1.298, allocations: 2.107 MB / 0.8247 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/1.298, allocations: 8 kB / 0.8247 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05448/1.353, allocations: 17.77 MB / 0.8421 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.701e-05/1.353, allocations: 63.41 kB / 0.8421 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.861e-05/1.353, allocations: 16 kB / 0.8422 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0241/1.377, allocations: 6.969 MB / 0.849 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003424/1.381, allocations: 0.5733 MB / 0.8495 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06164/1.442, allocations: 25.74 MB / 0.8747 GB, free: 7.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007105/1.449, allocations: 0.7035 MB / 0.8753 GB, free: 7.223 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001037/1.451, allocations: 136 kB / 0.8755 GB, free: 7.09 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.0009777/1.452, allocations: 335 kB / 0.8758 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00156/1.453, allocations: 462.2 kB / 0.8762 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05359/1.507, allocations: 18.15 MB / 0.894 GB, free: 4.07 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.321e-05/1.507, allocations: 36 kB / 0.894 GB, free: 4.035 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-05/1.507, allocations: 28 kB / 0.894 GB, free: 4.008 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000125/1.507, allocations: 19.92 kB / 0.894 GB, free: 3.988 MB / 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.5045/2.011, allocations: 23.11 MB / 0.9166 GB, free: 136.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.956e-05/2.012, allocations: 0 / 0.9166 GB, free: 136.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002594/2.014, allocations: 400.6 kB / 0.917 GB, free: 136.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02143/2.036, allocations: 7.012 MB / 0.9238 GB, free: 136.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008788/2.037, allocations: 70.27 kB / 0.9239 GB, free: 136.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0521/2.089, allocations: 24.58 MB / 0.9479 GB, free: 130.9 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/2.089, allocations: 3.969 kB / 0.9479 GB, free: 130.9 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05538/2.144, allocations: 20.99 MB / 0.9684 GB, free: 120.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002497/2.147, allocations: 0.562 MB / 0.969 GB, free: 120.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002247/2.149, allocations: 64.25 kB / 0.969 GB, free: 120.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006015/2.155, allocations: 0.4972 MB / 0.9695 GB, free: 120 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003734/2.159, allocations: 0.7836 MB / 0.9703 GB, free: 119.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004691/2.159, allocations: 95.19 kB / 0.9704 GB, free: 119.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003215/2.162, allocations: 2.029 MB / 0.9723 GB, free: 117.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.91e-07/2.162, allocations: 1.5 kB / 0.9724 GB, free: 117.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0064/2.169, allocations: 1.771 MB / 0.9741 GB, free: 115.9 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.05576/2.225, allocations: 21.73 MB / 0.9953 GB, free: 97.99 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02164/2.246, allocations: 8.245 MB / 1.003 GB, free: 90.46 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/2.246, allocations: 0 / 1.003 GB, free: 90.46 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01944/2.266, allocations: 6.125 MB / 1.009 GB, free: 85.03 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003829/2.27, allocations: 297 kB / 1.01 GB, free: 84.75 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/2.287, allocations: 6.668 MB / 1.016 GB, free: 78.79 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001729/2.289, allocations: 2.54 MB / 1.019 GB, free: 76.89 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001665/2.291, allocations: 304.5 kB / 1.019 GB, free: 76.69 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002201/2.293, allocations: 1.977 MB / 1.021 GB, free: 74.87 MB / 0.573 GB Notification: Performance of SimCode: time 1.032e-06/2.293, allocations: 3.719 kB / 1.021 GB, free: 74.87 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5136/2.807, allocations: 114 MB / 1.132 GB, free: 157 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001516/2.807, allocations: 193 kB / 1.132 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.507/9.314, allocations: 0 / 1.132 GB, free: 156.7 MB / 0.5886 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)