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.001598/0.001598, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 221.5 MB / 229.6 MB, free: 7.547 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 86.23 kB / 280.5 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5317/0.5317, allocations: 78.13 MB / 409.4 MB, free: 6.453 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.501e-05/2.504e-05, allocations: 7.938 kB / 485.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1536, allocations: 69.36 MB / 0.5414 GB, free: 6.867 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4511/0.6048, allocations: 102.1 MB / 0.6411 GB, free: 13.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.605, allocations: 84.47 kB / 0.6412 GB, free: 13.41 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2597/0.8647, allocations: 100.1 MB / 0.739 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8648, allocations: 0 / 0.739 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002888/0.8651, allocations: 87.94 kB / 0.739 GB, free: 8.836 MB / 0.5417 GB 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.02016/0.8852, allocations: 5.798 MB / 0.7447 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.8853, allocations: 8.031 kB / 0.7447 GB, free: 2.953 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01935/0.9047, allocations: 2.776 MB / 0.7474 GB, free: 172 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009244/0.914, allocations: 2.27 MB / 0.7496 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00143/0.9155, allocations: 0.8636 MB / 0.7505 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001971/0.9175, allocations: 203.9 kB / 0.7507 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01021/0.9278, allocations: 3.451 MB / 0.754 GB, free: 9.172 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/0.9414, allocations: 3.606 MB / 0.7576 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000183/0.9417, allocations: 3.938 kB / 0.7576 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001406/0.9431, allocations: 0 / 0.7576 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.431e-05/0.9432, allocations: 84 kB / 0.7577 GB, free: 5.453 MB / 0.5573 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.425/1.368, allocations: 18.13 MB / 0.7754 GB, free: 86.62 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01224/1.381, allocations: 4.722 MB / 0.78 GB, free: 86.19 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004807/1.385, allocations: 2.131 MB / 0.782 GB, free: 86.16 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006158/1.386, allocations: 71.11 kB / 0.7821 GB, free: 86.16 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004538/1.391, allocations: 2.508 MB / 0.7846 GB, free: 86.02 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=385): time 8.175e-06/1.391, allocations: 0 / 0.7846 GB, free: 86.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=385): time 0.05672/1.447, allocations: 17.32 MB / 0.8015 GB, free: 85.27 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/1.448, allocations: 145 kB / 0.8016 GB, free: 85.14 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005052/1.453, allocations: 2.48 MB / 0.804 GB, free: 84.86 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001135/1.454, allocations: 30.78 kB / 0.8041 GB, free: 84.83 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00164/1.455, allocations: 1.997 MB / 0.806 GB, free: 84.41 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002354/1.458, allocations: 1.263 MB / 0.8072 GB, free: 83.73 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003607/1.458, allocations: 0 / 0.8072 GB, free: 83.73 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002594/1.458, allocations: 450.3 kB / 0.8077 GB, free: 83.42 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003306/1.462, allocations: 1.781 MB / 0.8094 GB, free: 83.41 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004085/1.466, allocations: 2.343 MB / 0.8117 GB, free: 82.86 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004445/1.47, allocations: 1.973 MB / 0.8136 GB, free: 82.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.567e-05/1.47, allocations: 9.156 kB / 0.8136 GB, free: 82.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05485/1.525, allocations: 17.43 MB / 0.8307 GB, free: 81.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.65e-05/1.525, allocations: 65.42 kB / 0.8307 GB, free: 81.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.195e-05/1.525, allocations: 15.39 kB / 0.8307 GB, free: 81.63 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02484/1.55, allocations: 6.986 MB / 0.8376 GB, free: 81.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003249/1.554, allocations: 0.5563 MB / 0.8381 GB, free: 81.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06517/1.619, allocations: 26.56 MB / 0.864 GB, free: 69.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006076/1.625, allocations: 0.6355 MB / 0.8647 GB, free: 69.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006232/1.626, allocations: 138.2 kB / 0.8648 GB, free: 69.57 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.0008997/1.626, allocations: 193.8 kB / 0.865 GB, free: 69.43 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04994/1.676, allocations: 17.33 MB / 0.8819 GB, free: 62.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00195/1.678, allocations: 460.5 kB / 0.8823 GB, free: 61.64 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04941/1.728, allocations: 17.78 MB / 0.8997 GB, free: 48.02 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-05/1.728, allocations: 44 kB / 0.8998 GB, free: 47.98 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.65e-05/1.728, allocations: 28 kB / 0.8998 GB, free: 47.95 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001099/1.728, allocations: 17.72 kB / 0.8998 GB, free: 47.95 MB / 0.5573 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.05552/1.784, allocations: 22.43 MB / 0.9217 GB, free: 30.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/1.784, allocations: 4 kB / 0.9217 GB, free: 30.89 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002418/1.786, allocations: 398.6 kB / 0.9221 GB, free: 30.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02091/1.807, allocations: 6.957 MB / 0.9289 GB, free: 25.15 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001001/1.808, allocations: 20.72 kB / 0.9289 GB, free: 25.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04828/1.856, allocations: 24.18 MB / 0.9525 GB, free: 3.539 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/1.856, allocations: 7.562 kB / 0.9525 GB, free: 3.535 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06359/1.92, allocations: 20.97 MB / 0.973 GB, free: 1.035 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002505/1.923, allocations: 0.5585 MB / 0.9736 GB, free: 464 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001775/1.924, allocations: 8 kB / 0.9736 GB, free: 456 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004956/1.929, allocations: 439.6 kB / 0.974 GB, free: 16 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003379/1.933, allocations: 0.7802 MB / 0.9747 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000326/1.933, allocations: 99.92 kB / 0.9748 GB, free: 15.13 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003213/1.936, allocations: 1.844 MB / 0.9766 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.7e-07/1.936, allocations: 0 / 0.9766 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006006/1.942, allocations: 1.595 MB / 0.9782 GB, free: 11.69 MB / 0.5886 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.4387/2.381, allocations: 21.36 MB / 0.9991 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02329/2.404, allocations: 8.115 MB / 1.007 GB, free: 110.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/2.404, allocations: 1.125 kB / 1.007 GB, free: 110.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01973/2.424, allocations: 5.99 MB / 1.013 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003394/2.428, allocations: 246.6 kB / 1.013 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/2.445, allocations: 6.475 MB / 1.019 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002297/2.447, allocations: 2.549 MB / 1.022 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001727/2.449, allocations: 298.2 kB / 1.022 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002234/2.451, allocations: 1.947 MB / 1.024 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of SimCode: time 7.22e-07/2.451, allocations: 0 / 1.024 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1817/2.633, allocations: 108.2 MB / 1.13 GB, free: 74.07 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/2.633, allocations: 149.1 kB / 1.13 GB, free: 73.88 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.284/8.917, allocations: 0 / 1.13 GB, free: 73.88 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)