Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_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.001274/0.001274, allocations: 175.2 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.359/1.359, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.0008941/0.0008944, allocations: 105.3 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.4804/0.4804, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.553e-05/3.564e-05, allocations: 8 kB / 491.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3605, allocations: 69.33 MB / 0.5481 GB, free: 20.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1315/0.492, allocations: 102.8 MB / 0.6484 GB, free: 13.78 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.4924, allocations: 79.95 kB / 0.6485 GB, free: 13.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5978/1.09, allocations: 101.4 MB / 0.7476 GB, free: 60.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.763e-06/1.09, allocations: 0 / 0.7476 GB, free: 60.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00036/1.091, allocations: 87.94 kB / 0.7476 GB, free: 60.32 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.01852/1.109, allocations: 5.818 MB / 0.7533 GB, free: 54.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/1.109, allocations: 11.97 kB / 0.7533 GB, free: 54.42 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002129/1.111, allocations: 484.9 kB / 0.7538 GB, free: 53.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01799/1.129, allocations: 2.783 MB / 0.7565 GB, free: 51.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007492/1.137, allocations: 2.265 MB / 0.7587 GB, free: 48.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00116/1.138, allocations: 0.9808 MB / 0.7597 GB, free: 47.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001927/1.14, allocations: 351.9 kB / 0.76 GB, free: 47.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01385/1.154, allocations: 4.104 MB / 0.764 GB, free: 43.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/1.154, allocations: 0 / 0.764 GB, free: 43.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001232/1.155, allocations: 144 kB / 0.7642 GB, free: 43.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.019e-05/1.155, allocations: 88 kB / 0.7643 GB, free: 42.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009207/1.165, allocations: 3.628 MB / 0.7678 GB, free: 39.35 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.04238/1.207, allocations: 18.68 MB / 0.786 GB, free: 19.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/1.219, allocations: 4.826 MB / 0.7908 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004318/1.223, allocations: 2.234 MB / 0.7929 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007241/1.224, allocations: 78.92 kB / 0.793 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005753/1.23, allocations: 2.62 MB / 0.7956 GB, free: 9.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=385): time 1.416e-05/1.23, allocations: 0 / 0.7956 GB, free: 9.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=385): time 0.05761/1.287, allocations: 17.62 MB / 0.8128 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/1.287, allocations: 141.8 kB / 0.8129 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006859/1.294, allocations: 2.686 MB / 0.8155 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001197/1.296, allocations: 89.7 kB / 0.8156 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001674/1.297, allocations: 2.002 MB / 0.8176 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002253/1.299, allocations: 1.317 MB / 0.8189 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003282/1.3, allocations: 72 kB / 0.8189 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002798/1.3, allocations: 449.8 kB / 0.8194 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003525/1.304, allocations: 1.859 MB / 0.8212 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003816/1.307, allocations: 2.43 MB / 0.8235 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003996/1.311, allocations: 2.112 MB / 0.8256 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/1.312, allocations: 8 kB / 0.8256 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05562/1.367, allocations: 17.85 MB / 0.843 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/1.367, allocations: 63.41 kB / 0.8431 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-05/1.367, allocations: 16 kB / 0.8431 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02552/1.393, allocations: 7.056 MB / 0.85 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003368/1.396, allocations: 0.5539 MB / 0.8506 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06682/1.463, allocations: 27.12 MB / 0.877 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006748/1.47, allocations: 0.7152 MB / 0.8777 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00103/1.471, allocations: 136 kB / 0.8779 GB, free: 4.535 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-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 (334): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.001009/1.472, allocations: 330.9 kB / 0.8782 GB, free: 4.199 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001657/1.474, allocations: 454.4 kB / 0.8786 GB, free: 3.75 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0547/1.528, allocations: 18.17 MB / 0.8964 GB, free: 1.504 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.94e-05/1.528, allocations: 40 kB / 0.8964 GB, free: 1.465 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.179e-05/1.529, allocations: 28 kB / 0.8964 GB, free: 1.438 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001195/1.529, allocations: 19.89 kB / 0.8965 GB, free: 1.418 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.467/1.996, allocations: 23.17 MB / 0.9191 GB, free: 136.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.331e-05/1.996, allocations: 0 / 0.9191 GB, free: 136.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002744/1.999, allocations: 392.8 kB / 0.9195 GB, free: 136.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02276/2.021, allocations: 7.023 MB / 0.9263 GB, free: 136 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001341/2.023, allocations: 71.12 kB / 0.9264 GB, free: 136 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05248/2.075, allocations: 24.52 MB / 0.9503 GB, free: 129.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/2.075, allocations: 0 / 0.9503 GB, free: 129.3 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05534/2.131, allocations: 21.03 MB / 0.9709 GB, free: 118.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001893/2.133, allocations: 0.5659 MB / 0.9714 GB, free: 118.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008205/2.133, allocations: 64 kB / 0.9715 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004112/2.137, allocations: 497.9 kB / 0.972 GB, free: 117.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002936/2.14, allocations: 0.7803 MB / 0.9727 GB, free: 117.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003057/2.141, allocations: 90.77 kB / 0.9728 GB, free: 117.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002684/2.143, allocations: 2.054 MB / 0.9748 GB, free: 115.4 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/2.143, allocations: 0 / 0.9748 GB, free: 115.4 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004609/2.148, allocations: 1.77 MB / 0.9765 GB, free: 113.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (249): * Single equations (assignments): 246 * 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.05201/2.2, allocations: 21.76 MB / 0.9978 GB, free: 95.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02028/2.22, allocations: 8.395 MB / 1.006 GB, free: 88.11 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/2.22, allocations: 0 / 1.006 GB, free: 88.11 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01649/2.237, allocations: 6.153 MB / 1.012 GB, free: 82.66 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003016/2.24, allocations: 303.3 kB / 1.012 GB, free: 82.37 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/2.253, allocations: 6.763 MB / 1.019 GB, free: 76.33 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/2.254, allocations: 2.55 MB / 1.021 GB, free: 74.43 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001339/2.256, allocations: 297.2 kB / 1.022 GB, free: 74.22 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001931/2.258, allocations: 1.952 MB / 1.024 GB, free: 72.43 MB / 0.573 GB Notification: Performance of SimCode: time 9.01e-07/2.258, allocations: 4 kB / 1.024 GB, free: 72.42 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5522/2.81, allocations: 114.5 MB / 1.135 GB, free: 158.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/2.81, allocations: 194.3 kB / 1.136 GB, free: 158.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.304/9.114, allocations: 0 / 1.136 GB, free: 158.3 MB / 0.5886 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)