Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.0009177/0.0009177, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008558/0.0008556, allocations: 93.27 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06576/0.06576, allocations: 12.19 MB / 321.5 MB, free: 1.195 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3109/0.3109, allocations: 78.06 MB / 450.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.708e-05/2.685e-05, allocations: 4 kB / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.16, allocations: 69.24 MB / 0.5819 GB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5452/0.7052, allocations: 103.7 MB / 0.6831 GB, free: 4.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.7055, allocations: 78.14 kB / 0.6832 GB, free: 4.938 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.238/0.9435, allocations: 97 MB / 0.7779 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.745e-06/0.9436, allocations: 0 / 0.7779 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003456/0.944, allocations: 95.88 kB / 0.778 GB, free: 14.56 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.02025/0.9642, allocations: 5.79 MB / 0.7836 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.9643, allocations: 12.03 kB / 0.7836 GB, free: 8.684 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01797/0.9823, allocations: 2.787 MB / 0.7864 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008205/0.9905, allocations: 2.253 MB / 0.7886 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001202/0.9917, allocations: 0.8675 MB / 0.7894 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001785/0.9935, allocations: 200 kB / 0.7896 GB, free: 2.359 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009187/1.003, allocations: 3.447 MB / 0.793 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/1.014, allocations: 3.61 MB / 0.7965 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/1.014, allocations: 4 kB / 0.7965 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009606/1.015, allocations: 3.953 kB / 0.7965 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.227e-05/1.015, allocations: 88 kB / 0.7966 GB, free: 11.18 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.04082/1.056, allocations: 18.13 MB / 0.8143 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/1.067, allocations: 4.729 MB / 0.8189 GB, free: 3.082 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004125/1.071, allocations: 2.139 MB / 0.821 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007799/1.072, allocations: 70.88 kB / 0.8211 GB, free: 0.8633 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005535/1.077, allocations: 2.512 MB / 0.8235 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=385): time 9.067e-06/1.077, allocations: 0 / 0.8235 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of matching and sorting (n=385): time 0.05137/1.129, allocations: 17.32 MB / 0.8404 GB, free: 12.94 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/1.129, allocations: 141.8 kB / 0.8406 GB, free: 12.77 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003908/1.133, allocations: 2.484 MB / 0.843 GB, free: 10.28 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008346/1.133, allocations: 25.7 kB / 0.843 GB, free: 10.25 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001356/1.135, allocations: 2.01 MB / 0.845 GB, free: 8.219 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001463/1.136, allocations: 1.258 MB / 0.8462 GB, free: 6.941 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/1.137, allocations: 0 / 0.8462 GB, free: 6.941 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000201/1.137, allocations: 449.8 kB / 0.8466 GB, free: 6.496 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002771/1.14, allocations: 1.781 MB / 0.8484 GB, free: 4.715 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003024/1.143, allocations: 2.341 MB / 0.8507 GB, free: 2.18 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002991/1.146, allocations: 1.977 MB / 0.8526 GB, free: 196 kB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/1.146, allocations: 4 kB / 0.8526 GB, free: 192 kB / 0.573 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.3499/1.496, allocations: 17.42 MB / 0.8696 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/1.496, allocations: 63.16 kB / 0.8697 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.706e-05/1.496, allocations: 14.88 kB / 0.8697 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02479/1.521, allocations: 6.985 MB / 0.8765 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003782/1.524, allocations: 0.5504 MB / 0.877 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06921/1.594, allocations: 26.57 MB / 0.903 GB, free: 124 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006435/1.6, allocations: 0.631 MB / 0.9036 GB, free: 123.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005509/1.601, allocations: 139.9 kB / 0.9037 GB, free: 123.9 MB / 0.5886 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.0009409/1.602, allocations: 197.3 kB / 0.9039 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04906/1.651, allocations: 17.32 MB / 0.9208 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002682/1.653, allocations: 459.9 kB / 0.9213 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05017/1.704, allocations: 17.78 MB / 0.9386 GB, free: 122 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.709e-05/1.704, allocations: 37.41 kB / 0.9387 GB, free: 122 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-05/1.704, allocations: 27.59 kB / 0.9387 GB, free: 122 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001806/1.704, allocations: 25.23 kB / 0.9387 GB, free: 122 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.06154/1.766, allocations: 22.44 MB / 0.9606 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.174e-05/1.766, allocations: 2.312 kB / 0.9607 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002852/1.769, allocations: 398.6 kB / 0.961 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0213/1.79, allocations: 6.961 MB / 0.9678 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001105/1.791, allocations: 23.66 kB / 0.9679 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04959/1.841, allocations: 24.18 MB / 0.9915 GB, free: 89.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.841, allocations: 2.531 kB / 0.9915 GB, free: 89.79 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05335/1.894, allocations: 20.67 MB / 1.012 GB, free: 72.95 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002908/1.897, allocations: 0.5647 MB / 1.012 GB, free: 72.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002904/1.9, allocations: 0 / 1.012 GB, free: 72.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006445/1.906, allocations: 439 kB / 1.013 GB, free: 72.12 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00362/1.91, allocations: 0.7808 MB / 1.013 GB, free: 71.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003876/1.91, allocations: 99.61 kB / 1.013 GB, free: 71.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00328/1.914, allocations: 1.836 MB / 1.015 GB, free: 69.92 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.2e-07/1.914, allocations: 0 / 1.015 GB, free: 69.92 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007825/1.922, allocations: 1.599 MB / 1.017 GB, free: 68.39 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.05369/1.975, allocations: 21.35 MB / 1.038 GB, free: 50.81 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02108/1.996, allocations: 8.112 MB / 1.046 GB, free: 43.38 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/1.997, allocations: 0 / 1.046 GB, free: 43.38 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01759/2.014, allocations: 6.004 MB / 1.051 GB, free: 38.07 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003889/2.018, allocations: 241.8 kB / 1.052 GB, free: 37.84 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/2.034, allocations: 6.48 MB / 1.058 GB, free: 32.09 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001754/2.036, allocations: 2.55 MB / 1.061 GB, free: 30.18 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001527/2.038, allocations: 294.4 kB / 1.061 GB, free: 29.98 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001974/2.04, allocations: 1.952 MB / 1.063 GB, free: 28.18 MB / 0.5886 GB Notification: Performance of SimCode: time 1.482e-06/2.04, allocations: 0 / 1.063 GB, free: 28.18 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6095/2.649, allocations: 108.2 MB / 1.168 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/2.65, allocations: 138.6 kB / 1.168 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/10.43, allocations: 0 / 1.168 GB, free: 121.2 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)