Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.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.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI",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.0009704/0.0009704, allocations: 173.8 kB / 12.73 MB, free: 2.586 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.201/1.201, allocations: 221.4 MB / 234.6 MB, free: 14.43 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.0008777/0.0008777, allocations: 78.88 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.446/0.446, allocations: 78.91 MB / 415.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.961e-05/2.974e-05, allocations: 8 kB / 492.9 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2995, allocations: 69.5 MB / 0.5492 GB, free: 19.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1132/0.4127, allocations: 98.7 MB / 0.6456 GB, free: 0.875 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.413, allocations: 79.95 kB / 0.6457 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07767/0.4907, allocations: 30.17 MB / 0.6751 GB, free: 2.426 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4907, allocations: 3.984 kB / 0.6751 GB, free: 2.422 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.491e-05/0.4908, allocations: 23.94 kB / 0.6752 GB, free: 2.398 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004677/0.4955, allocations: 1.685 MB / 0.6768 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4955, allocations: 15.97 kB / 0.6768 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002162/0.4957, allocations: 122.5 kB / 0.6769 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2632/0.7589, allocations: 0.5597 MB / 0.6775 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/0.7611, allocations: 0.7619 MB / 0.6782 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002683/0.7614, allocations: 241.2 kB / 0.6785 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.7616, allocations: 76.09 kB / 0.6785 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.7633, allocations: 0.9344 MB / 0.6794 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.7634, allocations: 2.281 kB / 0.6794 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.678e-05/0.7635, allocations: 31.72 kB / 0.6795 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.7635, allocations: 18.12 kB / 0.6795 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.765, allocations: 0.834 MB / 0.6803 GB, free: 103.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.006604/0.7716, allocations: 3.832 MB / 0.684 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007181/0.7788, allocations: 2.606 MB / 0.6866 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007546/0.7796, allocations: 0.5345 MB / 0.6871 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.7797, allocations: 16.38 kB / 0.6871 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.7797, allocations: 49.98 kB / 0.6872 GB, free: 101.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.917e-06/0.7798, allocations: 0 / 0.6872 GB, free: 101.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01067/0.7904, allocations: 3.892 MB / 0.691 GB, free: 101.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.7905, allocations: 142.7 kB / 0.6911 GB, free: 101.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.7917, allocations: 0.8799 MB / 0.692 GB, free: 101.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.7918, allocations: 40.83 kB / 0.692 GB, free: 101.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.7921, allocations: 0.5143 MB / 0.6925 GB, free: 101.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/0.7923, allocations: 327.7 kB / 0.6928 GB, free: 100.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.7924, allocations: 15.66 kB / 0.6928 GB, free: 100.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.165e-05/0.7924, allocations: 344.2 kB / 0.6932 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000626/0.7931, allocations: 441.5 kB / 0.6936 GB, free: 100.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006598/0.7937, allocations: 0.5593 MB / 0.6941 GB, free: 100 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006865/0.7944, allocations: 0.5292 MB / 0.6947 GB, free: 99.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.7945, allocations: 11.53 kB / 0.6947 GB, free: 99.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01075/0.8052, allocations: 4.063 MB / 0.6986 GB, free: 98.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003403/0.8056, allocations: 1.206 MB / 0.6998 GB, free: 97.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.8056, allocations: 0 / 0.6998 GB, free: 97.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004773/0.8104, allocations: 1.469 MB / 0.7012 GB, free: 97.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008713/0.8113, allocations: 163.4 kB / 0.7014 GB, free: 97.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.8228, allocations: 6.578 MB / 0.7078 GB, free: 93.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.8243, allocations: 191.3 kB / 0.708 GB, free: 93.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.991e-05/0.8244, allocations: 40.39 kB / 0.708 GB, free: 93.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.8244, allocations: 4 kB / 0.7081 GB, free: 93.52 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01029/0.8347, allocations: 3.929 MB / 0.7119 GB, free: 90.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.8348, allocations: 7.953 kB / 0.7119 GB, free: 90.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004384/0.8392, allocations: 1.465 MB / 0.7133 GB, free: 89.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007157/0.8399, allocations: 159 kB / 0.7135 GB, free: 89.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.8511, allocations: 6.558 MB / 0.7199 GB, free: 83.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.8526, allocations: 181.5 kB / 0.7201 GB, free: 83.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.35e-05/0.8527, allocations: 39.45 kB / 0.7201 GB, free: 83.02 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002611/0.853, allocations: 198.3 kB / 0.7203 GB, free: 82.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/0.8533, allocations: 134.4 kB / 0.7204 GB, free: 82.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/0.8636, allocations: 3.996 MB / 0.7243 GB, free: 79.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.8637, allocations: 8 kB / 0.7243 GB, free: 79.53 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.8637, allocations: 8 kB / 0.7243 GB, free: 79.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.698e-05/0.8637, allocations: 7.688 kB / 0.7243 GB, free: 79.52 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 postOpt removeSimpleEquations (simulation): time 0.01224/0.876, allocations: 5.62 MB / 0.7298 GB, free: 75.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.876, allocations: 0 / 0.7298 GB, free: 75.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006428/0.8767, allocations: 107.9 kB / 0.7299 GB, free: 74.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003983/0.8807, allocations: 1.422 MB / 0.7313 GB, free: 73.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.8808, allocations: 20 kB / 0.7313 GB, free: 73.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009688/0.8905, allocations: 5.752 MB / 0.737 GB, free: 67.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.8905, allocations: 0 / 0.737 GB, free: 67.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/0.9019, allocations: 4.712 MB / 0.7416 GB, free: 62.86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004383/0.9024, allocations: 227.3 kB / 0.7418 GB, free: 62.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.9025, allocations: 20 kB / 0.7418 GB, free: 62.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.9036, allocations: 135.9 kB / 0.7419 GB, free: 62.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004523/0.9041, allocations: 180.5 kB / 0.7421 GB, free: 62.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.785e-05/0.9042, allocations: 24 kB / 0.7421 GB, free: 62.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007676/0.9049, allocations: 0.6856 MB / 0.7428 GB, free: 61.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9049, allocations: 0 / 0.7428 GB, free: 61.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001536/0.9065, allocations: 0.6729 MB / 0.7434 GB, free: 60.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01145/0.9179, allocations: 5.382 MB / 0.7487 GB, free: 55.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007483/0.9255, allocations: 3.56 MB / 0.7522 GB, free: 51.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.9255, allocations: 0 / 0.7522 GB, free: 51.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003303/0.9288, allocations: 1.451 MB / 0.7536 GB, free: 50.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008271/0.9296, allocations: 105 kB / 0.7537 GB, free: 50.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.9327, allocations: 1.908 MB / 0.7556 GB, free: 48.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.9331, allocations: 1.154 MB / 0.7567 GB, free: 47.17 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006818/0.9338, allocations: 208.2 kB / 0.7569 GB, free: 46.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004145/0.9342, allocations: 459.3 kB / 0.7573 GB, free: 46.52 MB / 490.7 MB Notification: Performance of SimCode: time 7.42e-07/0.9342, allocations: 4 kB / 0.7573 GB, free: 46.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04979/0.984, allocations: 37.88 MB / 0.7943 GB, free: 9.125 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001382/0.9842, allocations: 187 kB / 0.7945 GB, free: 8.902 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.944/3.928, allocations: 0 / 0.7945 GB, free: 8.902 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)