Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_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.0009518/0.0009519, allocations: 173.9 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.192/1.192, 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.0007991/0.0007988, allocations: 88.36 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4546/0.4546, allocations: 78.03 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.161e-05, allocations: 4 kB / 491.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3315, allocations: 69.35 MB / 0.5481 GB, free: 20.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1143/0.4459, allocations: 98.8 MB / 0.6445 GB, free: 1.609 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.4461, allocations: 79.94 kB / 0.6446 GB, free: 1.531 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3941/0.8402, allocations: 36.43 MB / 0.6802 GB, free: 106.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.8403, allocations: 0 / 0.6802 GB, free: 106.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.142e-05/0.8404, allocations: 27.81 kB / 0.6802 GB, free: 106.3 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004163/0.8445, allocations: 1.708 MB / 0.6819 GB, free: 105.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.8446, allocations: 14.09 kB / 0.6819 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001689/0.8448, allocations: 126.6 kB / 0.682 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00346/0.8482, allocations: 0.5626 MB / 0.6826 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.8497, allocations: 0.7804 MB / 0.6833 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002637/0.85, allocations: 263.1 kB / 0.6836 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.8502, allocations: 80.91 kB / 0.6837 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.8519, allocations: 0.9361 MB / 0.6846 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.8519, allocations: 3.469 kB / 0.6846 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.139e-05/0.852, allocations: 33.95 kB / 0.6846 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.8521, allocations: 18 kB / 0.6846 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.8536, allocations: 0.8407 MB / 0.6854 GB, free: 104.9 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.006239/0.8599, allocations: 3.79 MB / 0.6891 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006532/0.8664, allocations: 2.669 MB / 0.6918 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008154/0.8673, allocations: 0.5391 MB / 0.6923 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.8674, allocations: 16.09 kB / 0.6923 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009695/0.8684, allocations: 0.677 MB / 0.693 GB, free: 103.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.755e-06/0.8684, allocations: 0 / 0.693 GB, free: 103.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01134/0.8797, allocations: 4.02 MB / 0.6969 GB, free: 102.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.8798, allocations: 116.7 kB / 0.697 GB, free: 102.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.8811, allocations: 0.8841 MB / 0.6979 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001864/0.8813, allocations: 40.61 kB / 0.6979 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.8816, allocations: 0.5108 MB / 0.6984 GB, free: 101.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/0.8819, allocations: 336.2 kB / 0.6987 GB, free: 101 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.355e-05/0.882, allocations: 23.56 kB / 0.6987 GB, free: 101 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.96e-05/0.882, allocations: 343.6 kB / 0.6991 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006994/0.8828, allocations: 461.5 kB / 0.6995 GB, free: 100.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000748/0.8835, allocations: 0.5828 MB / 0.7001 GB, free: 100.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007836/0.8843, allocations: 0.5546 MB / 0.7006 GB, free: 99.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.8843, allocations: 0 / 0.7006 GB, free: 99.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01112/0.8955, allocations: 4.099 MB / 0.7046 GB, free: 98.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.555e-05/0.8956, allocations: 61.66 kB / 0.7047 GB, free: 98.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.8956, allocations: 7.844 kB / 0.7047 GB, free: 98.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005065/0.9006, allocations: 1.52 MB / 0.7062 GB, free: 98.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009975/0.9017, allocations: 185.7 kB / 0.7063 GB, free: 98.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/0.9141, allocations: 6.749 MB / 0.7129 GB, free: 92.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.9158, allocations: 195.1 kB / 0.7131 GB, free: 91.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002781/0.9161, allocations: 43.38 kB / 0.7132 GB, free: 91.92 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004903/0.9166, allocations: 193.5 kB / 0.7133 GB, free: 91.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005511/0.9172, allocations: 126.4 kB / 0.7135 GB, free: 91.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/0.9287, allocations: 4.148 MB / 0.7175 GB, free: 88.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.9287, allocations: 8 kB / 0.7175 GB, free: 88.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.9288, allocations: 8 kB / 0.7175 GB, free: 88.35 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.409e-05/0.9288, allocations: 15.5 kB / 0.7176 GB, free: 88.34 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.01338/0.9422, allocations: 5.692 MB / 0.7231 GB, free: 83.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.9422, allocations: 0 / 0.7231 GB, free: 83.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006215/0.9429, allocations: 103.8 kB / 0.7232 GB, free: 83.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004447/0.9473, allocations: 1.481 MB / 0.7247 GB, free: 82.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001893/0.9475, allocations: 23.98 kB / 0.7247 GB, free: 82.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01215/0.9597, allocations: 7.712 MB / 0.7322 GB, free: 74.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9597, allocations: 3.953 kB / 0.7322 GB, free: 74.17 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01224/0.972, allocations: 4.881 MB / 0.737 GB, free: 69.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005777/0.9726, allocations: 231.2 kB / 0.7372 GB, free: 69.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004493/0.9731, allocations: 24 kB / 0.7372 GB, free: 68.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/0.9745, allocations: 147.9 kB / 0.7374 GB, free: 68.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007064/0.9752, allocations: 188.7 kB / 0.7375 GB, free: 68.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.9754, allocations: 28 kB / 0.7376 GB, free: 68.63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001102/0.9765, allocations: 0.6817 MB / 0.7382 GB, free: 67.94 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9765, allocations: 0 / 0.7382 GB, free: 67.94 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001768/0.9783, allocations: 435.5 kB / 0.7387 GB, free: 67.51 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01265/0.9909, allocations: 5.543 MB / 0.7441 GB, free: 61.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004464/0.9954, allocations: 2.07 MB / 0.7461 GB, free: 59.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.9955, allocations: 4 kB / 0.7461 GB, free: 59.81 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003504/0.999, allocations: 1.585 MB / 0.7476 GB, free: 58.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009637/1, allocations: 104.6 kB / 0.7477 GB, free: 58.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003791/1.004, allocations: 1.938 MB / 0.7496 GB, free: 56.13 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/1.004, allocations: 1.151 MB / 0.7508 GB, free: 54.95 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004085/1.005, allocations: 102.3 kB / 0.7509 GB, free: 54.85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000539/1.005, allocations: 463.3 kB / 0.7513 GB, free: 54.39 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/1.005, allocations: 4 kB / 0.7513 GB, free: 54.39 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04551/1.051, allocations: 30.79 MB / 0.7814 GB, free: 24.17 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/1.051, allocations: 192 kB / 0.7816 GB, free: 23.95 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.691/3.742, allocations: 0 / 0.7816 GB, free: 23.95 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)