Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_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.001064/0.001065, allocations: 174.6 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.243/1.243, 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.000767/0.000767, allocations: 92.84 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.06073/0.06073, 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.2725/0.2725, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.986e-05/2.997e-05, allocations: 4 kB / 0.5213 GB, free: 24.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1041, allocations: 69.24 MB / 0.5889 GB, free: 2.957 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3675/0.4716, allocations: 103 MB / 0.6895 GB, free: 13.48 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.4719, allocations: 86 kB / 0.6896 GB, free: 13.43 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2374/0.7093, allocations: 96.85 MB / 0.7841 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.073e-06/0.7093, allocations: 0 / 0.7841 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002292/0.7096, allocations: 87.94 kB / 0.7842 GB, free: 6.777 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01745/0.727, allocations: 5.751 MB / 0.7898 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.7271, allocations: 15.98 kB / 0.7898 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001131/0.7282, allocations: 484.8 kB / 0.7903 GB, free: 460 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01665/0.7449, allocations: 2.783 MB / 0.793 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005015/0.75, allocations: 2.221 MB / 0.7952 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009791/0.751, allocations: 0.9847 MB / 0.7962 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008927/0.7519, allocations: 347.9 kB / 0.7965 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007365/0.7592, allocations: 4.08 MB / 0.8005 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.548e-05/0.7593, allocations: 3.953 kB / 0.8005 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003907/0.7597, allocations: 140 kB / 0.8006 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.203e-05/0.7598, allocations: 84 kB / 0.8007 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0066/0.7664, allocations: 3.613 MB / 0.8042 GB, free: 1.949 MB / 0.5261 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.0326/0.799, allocations: 18.58 MB / 0.8224 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01033/0.8094, allocations: 4.794 MB / 0.827 GB, free: 9.305 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003747/0.8131, allocations: 2.214 MB / 0.8292 GB, free: 7.082 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004435/0.8136, allocations: 74.89 kB / 0.8293 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004191/0.8178, allocations: 2.592 MB / 0.8318 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 5.8e-06/0.8178, allocations: 0 / 0.8318 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.05113/0.869, allocations: 17.59 MB / 0.849 GB, free: 2.723 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.242e-05/0.8691, allocations: 141.8 kB / 0.8491 GB, free: 2.559 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00398/0.8731, allocations: 2.65 MB / 0.8517 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0008198/0.8739, allocations: 85.7 kB / 0.8518 GB, free: 15.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001559/0.8755, allocations: 2.002 MB / 0.8537 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001993/0.8775, allocations: 1.301 MB / 0.855 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003274/0.8778, allocations: 76 kB / 0.8551 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002546/0.8781, allocations: 437.7 kB / 0.8555 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003249/0.8813, allocations: 1.831 MB / 0.8573 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003745/0.8851, allocations: 2.415 MB / 0.8597 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003819/0.8889, allocations: 2.095 MB / 0.8617 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/0.889, allocations: 4 kB / 0.8617 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.3045/1.193, allocations: 17.73 MB / 0.879 GB, free: 130.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.025e-05/1.194, allocations: 70.33 kB / 0.8791 GB, free: 130.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/1.194, allocations: 14.47 kB / 0.8791 GB, free: 130.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02283/1.216, allocations: 6.98 MB / 0.8859 GB, free: 130.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002789/1.219, allocations: 0.5517 MB / 0.8865 GB, free: 130.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05144/1.271, allocations: 25.78 MB / 0.9116 GB, free: 128.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005372/1.276, allocations: 0.7033 MB / 0.9123 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004614/1.277, allocations: 135.2 kB / 0.9124 GB, free: 128.8 MB / 0.5886 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.0007665/1.277, allocations: 323.9 kB / 0.9128 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007794/1.278, allocations: 455.6 kB / 0.9132 GB, free: 128.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04721/1.325, allocations: 18.12 MB / 0.9309 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-05/1.326, allocations: 34.59 kB / 0.9309 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.028e-05/1.326, allocations: 30.78 kB / 0.9309 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.511e-05/1.326, allocations: 25.95 kB / 0.931 GB, free: 127.3 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.0535/1.379, allocations: 23.08 MB / 0.9535 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.359e-05/1.379, allocations: 2.719 kB / 0.9535 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002203/1.381, allocations: 392 kB / 0.9539 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02059/1.402, allocations: 7.028 MB / 0.9607 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007556/1.403, allocations: 75.84 kB / 0.9608 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04775/1.451, allocations: 24.5 MB / 0.9847 GB, free: 93.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.451, allocations: 4 kB / 0.9847 GB, free: 93.75 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05137/1.502, allocations: 20.93 MB / 1.005 GB, free: 76.62 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/1.503, allocations: 0.5517 MB / 1.006 GB, free: 76.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000832/1.504, allocations: 75.66 kB / 1.006 GB, free: 76.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00404/1.508, allocations: 497.4 kB / 1.006 GB, free: 75.68 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002634/1.511, allocations: 0.7743 MB / 1.007 GB, free: 75.26 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002987/1.511, allocations: 95.42 kB / 1.007 GB, free: 75.17 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002324/1.514, allocations: 2.01 MB / 1.009 GB, free: 73.31 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.5e-07/1.514, allocations: 0 / 1.009 GB, free: 73.31 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004388/1.518, allocations: 1.756 MB / 1.011 GB, free: 71.62 MB / 0.5886 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.05139/1.569, allocations: 21.68 MB / 1.032 GB, free: 53.74 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01899/1.588, allocations: 8.22 MB / 1.04 GB, free: 46.21 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/1.589, allocations: 448 / 1.04 GB, free: 46.21 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01592/1.604, allocations: 6.112 MB / 1.046 GB, free: 40.58 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/1.607, allocations: 304.3 kB / 1.046 GB, free: 40.28 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/1.62, allocations: 6.492 MB / 1.053 GB, free: 33.75 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/1.621, allocations: 2.531 MB / 1.055 GB, free: 31.18 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001309/1.622, allocations: 296.2 kB / 1.055 GB, free: 30.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001831/1.624, allocations: 1.971 MB / 1.057 GB, free: 28.93 MB / 0.5886 GB Notification: Performance of SimCode: time 6.71e-07/1.624, allocations: 0 / 1.057 GB, free: 28.93 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4163/2.041, allocations: 113.3 MB / 1.168 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/2.041, allocations: 194.3 kB / 1.168 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.24/8.281, allocations: 3.5 kB / 1.168 GB, free: 138.9 MB / 0.6042 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)