Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_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.001039/0.001039, allocations: 174.5 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.259/1.259, 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.0008165/0.0008166, allocations: 96.11 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4347/0.4347, allocations: 78.02 MB / 414.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.767e-05, allocations: 7.938 kB / 491.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3135, allocations: 69.34 MB / 0.548 GB, free: 20.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.4414, allocations: 99.42 MB / 0.6451 GB, free: 0.9961 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.4417, allocations: 79.95 kB / 0.6452 GB, free: 0.918 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08856/0.5302, allocations: 32.58 MB / 0.677 GB, free: 132 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.5303, allocations: 0 / 0.677 GB, free: 132 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.091e-05/0.5303, allocations: 24 kB / 0.6771 GB, free: 108 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.3084/0.8388, allocations: 1.746 MB / 0.6788 GB, free: 104 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.01e-05/0.8389, allocations: 15.31 kB / 0.6788 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003095/0.8392, allocations: 128.7 kB / 0.6789 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003819/0.843, allocations: 0.5628 MB / 0.6794 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.8449, allocations: 0.8089 MB / 0.6802 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003238/0.8452, allocations: 265.3 kB / 0.6805 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.8454, allocations: 83.05 kB / 0.6806 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.8474, allocations: 0.954 MB / 0.6815 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.8475, allocations: 4.656 kB / 0.6815 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.8476, allocations: 33.98 kB / 0.6815 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.8476, allocations: 21.31 kB / 0.6816 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.8495, allocations: 0.8516 MB / 0.6824 GB, free: 103.3 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.007935/0.8574, allocations: 3.895 MB / 0.6862 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007157/0.8646, allocations: 2.694 MB / 0.6888 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007817/0.8654, allocations: 0.5567 MB / 0.6894 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.8655, allocations: 19.47 kB / 0.6894 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009837/0.8665, allocations: 0.696 MB / 0.6901 GB, free: 101.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 3.206e-06/0.8665, allocations: 3.047 kB / 0.6901 GB, free: 101.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01148/0.878, allocations: 4.057 MB / 0.694 GB, free: 101.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.8781, allocations: 119.1 kB / 0.6941 GB, free: 101 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.8794, allocations: 0.9324 MB / 0.6951 GB, free: 100.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002115/0.8796, allocations: 40.27 kB / 0.6951 GB, free: 100.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/0.88, allocations: 0.519 MB / 0.6956 GB, free: 100.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003923/0.8804, allocations: 356.8 kB / 0.6959 GB, free: 99.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/0.8805, allocations: 19.41 kB / 0.696 GB, free: 99.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.8806, allocations: 346.6 kB / 0.6963 GB, free: 99.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008514/0.8814, allocations: 479.7 kB / 0.6967 GB, free: 99.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009198/0.8824, allocations: 0.5994 MB / 0.6973 GB, free: 99.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008615/0.8832, allocations: 0.5676 MB / 0.6979 GB, free: 98.72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.8833, allocations: 3.906 kB / 0.6979 GB, free: 98.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01196/0.8952, allocations: 4.206 MB / 0.702 GB, free: 97.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.758e-05/0.8953, allocations: 57.94 kB / 0.702 GB, free: 97.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.8953, allocations: 7.406 kB / 0.7021 GB, free: 97.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005552/0.9009, allocations: 1.616 MB / 0.7036 GB, free: 97.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.902, allocations: 185.8 kB / 0.7038 GB, free: 97.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01357/0.9155, allocations: 8.114 MB / 0.7117 GB, free: 90.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.9175, allocations: 208.6 kB / 0.7119 GB, free: 90.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.9176, allocations: 39.94 kB / 0.712 GB, free: 90.65 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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: 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 (99): * Single equations (assignments): 95 * 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 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003002/0.9179, allocations: 189.8 kB / 0.7122 GB, free: 90.47 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.9181, allocations: 133.8 kB / 0.7123 GB, free: 90.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/0.9292, allocations: 4.189 MB / 0.7164 GB, free: 87.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.9292, allocations: 8 kB / 0.7164 GB, free: 87.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.9292, allocations: 8 kB / 0.7164 GB, free: 87.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.61e-05/0.9293, allocations: 7.078 kB / 0.7164 GB, free: 87.05 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.0135/0.9428, allocations: 5.786 MB / 0.722 GB, free: 82.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/0.9428, allocations: 7.75 kB / 0.7221 GB, free: 82.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007976/0.9436, allocations: 99.75 kB / 0.7221 GB, free: 82.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004973/0.9486, allocations: 1.508 MB / 0.7236 GB, free: 81.19 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002629/0.9489, allocations: 23.66 kB / 0.7236 GB, free: 81.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01364/0.9626, allocations: 7.7 MB / 0.7312 GB, free: 73.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.9626, allocations: 0 / 0.7312 GB, free: 73.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01317/0.9758, allocations: 4.948 MB / 0.736 GB, free: 69.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006209/0.9765, allocations: 242.9 kB / 0.7362 GB, free: 68.81 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004994/0.977, allocations: 20 kB / 0.7362 GB, free: 68.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/0.9786, allocations: 151.9 kB / 0.7364 GB, free: 68.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006953/0.9793, allocations: 192.6 kB / 0.7366 GB, free: 68.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.9795, allocations: 39.67 kB / 0.7366 GB, free: 68.42 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001064/0.9805, allocations: 0.7258 MB / 0.7373 GB, free: 67.69 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.9805, allocations: 0 / 0.7373 GB, free: 67.69 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001717/0.9823, allocations: 448.7 kB / 0.7377 GB, free: 67.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (66): * Single equations (assignments): 63 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01318/0.9955, allocations: 5.624 MB / 0.7432 GB, free: 61.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005506/1.001, allocations: 2.241 MB / 0.7454 GB, free: 59.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.001, allocations: 0 / 0.7454 GB, free: 59.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003991/1.005, allocations: 1.616 MB / 0.747 GB, free: 57.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/1.006, allocations: 109.1 kB / 0.7471 GB, free: 57.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004726/1.011, allocations: 2.133 MB / 0.7492 GB, free: 55.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/1.012, allocations: 1.158 MB / 0.7503 GB, free: 54.22 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004872/1.012, allocations: 94.84 kB / 0.7504 GB, free: 54.13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006547/1.013, allocations: 0.4913 MB / 0.7509 GB, free: 53.64 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/1.013, allocations: 0 / 0.7509 GB, free: 53.64 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04547/1.058, allocations: 32 MB / 0.7821 GB, free: 22.21 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/1.058, allocations: 183.6 kB / 0.7823 GB, free: 21.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.723/3.781, allocations: 0 / 0.7823 GB, free: 21.98 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)