Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_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.001047/0.001047, allocations: 172.5 kB / 7.646 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.777/1.777, allocations: 205.3 MB / 213.4 MB, free: 13.7 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.0008984/0.000898, allocations: 87.53 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07678/0.07678, allocations: 12.2 MB / 321.5 MB, free: 1.188 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.287/0.287, allocations: 78.06 MB / 450.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.869e-05, allocations: 4 kB / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1938, allocations: 69.24 MB / 0.5818 GB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5877/0.7816, allocations: 103.4 MB / 0.6829 GB, free: 5.203 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.782, allocations: 76.89 kB / 0.6829 GB, free: 5.164 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2508/1.033, allocations: 96.54 MB / 0.7772 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.036e-06/1.033, allocations: 0 / 0.7772 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004961/1.033, allocations: 87.94 kB / 0.7773 GB, free: 15.25 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.02224/1.056, allocations: 5.774 MB / 0.7829 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/1.056, allocations: 8.031 kB / 0.7829 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01782/1.073, allocations: 2.783 MB / 0.7857 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006524/1.08, allocations: 2.245 MB / 0.7878 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001139/1.081, allocations: 0.8636 MB / 0.7887 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001543/1.083, allocations: 203.9 kB / 0.7889 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009542/1.092, allocations: 3.455 MB / 0.7923 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01219/1.105, allocations: 3.594 MB / 0.7958 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.811e-05/1.105, allocations: 0 / 0.7958 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008674/1.106, allocations: 0 / 0.7958 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.16e-05/1.106, allocations: 91.89 kB / 0.7959 GB, free: 11.92 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.04162/1.147, allocations: 18.1 MB / 0.8135 GB, free: 8.66 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01156/1.159, allocations: 4.702 MB / 0.8181 GB, free: 3.867 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004598/1.164, allocations: 2.131 MB / 0.8202 GB, free: 1.727 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006629/1.164, allocations: 66.94 kB / 0.8203 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006023/1.17, allocations: 2.504 MB / 0.8227 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=384): time 1.18e-05/1.17, allocations: 0 / 0.8227 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of matching and sorting (n=384): time 0.05613/1.227, allocations: 17.31 MB / 0.8396 GB, free: 13.75 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.614e-05/1.227, allocations: 145.8 kB / 0.8398 GB, free: 13.59 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00477/1.231, allocations: 2.468 MB / 0.8422 GB, free: 11.11 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001133/1.233, allocations: 25.7 kB / 0.8422 GB, free: 11.07 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001778/1.234, allocations: 1.998 MB / 0.8441 GB, free: 9.059 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002649/1.237, allocations: 1.254 MB / 0.8454 GB, free: 7.785 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004932/1.238, allocations: 3.938 kB / 0.8454 GB, free: 7.781 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003136/1.238, allocations: 449.8 kB / 0.8458 GB, free: 7.336 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003362/1.241, allocations: 1.777 MB / 0.8475 GB, free: 5.559 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003953/1.245, allocations: 2.325 MB / 0.8498 GB, free: 3.035 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003944/1.249, allocations: 1.968 MB / 0.8517 GB, free: 1.055 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.799e-05/1.249, allocations: 4 kB / 0.8517 GB, free: 1.051 MB / 0.573 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.3506/1.6, allocations: 17.35 MB / 0.8687 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/1.6, allocations: 66.12 kB / 0.8687 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.888e-05/1.6, allocations: 14.34 kB / 0.8687 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02249/1.623, allocations: 6.897 MB / 0.8755 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003326/1.626, allocations: 0.5795 MB / 0.876 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05743/1.683, allocations: 25.21 MB / 0.9007 GB, free: 125 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005963/1.689, allocations: 0.6219 MB / 0.9013 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00126/1.691, allocations: 138 kB / 0.9014 GB, free: 124.9 MB / 0.5886 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-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 (333): * 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: 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.001207/1.692, allocations: 211.4 kB / 0.9016 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05061/1.743, allocations: 17.31 MB / 0.9185 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003804/1.746, allocations: 460.4 kB / 0.919 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.054/1.8, allocations: 17.76 MB / 0.9363 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-05/1.801, allocations: 35.84 kB / 0.9363 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.713e-05/1.801, allocations: 33.19 kB / 0.9364 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000154/1.801, allocations: 18.19 kB / 0.9364 GB, free: 123.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.06285/1.864, allocations: 22.38 MB / 0.9582 GB, free: 117.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.267e-05/1.864, allocations: 0 / 0.9582 GB, free: 117.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003313/1.867, allocations: 390.8 kB / 0.9586 GB, free: 117.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02332/1.891, allocations: 6.954 MB / 0.9654 GB, free: 113.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001422/1.892, allocations: 19.7 kB / 0.9654 GB, free: 113.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05355/1.946, allocations: 24.24 MB / 0.9891 GB, free: 91.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.946, allocations: 0 / 0.9891 GB, free: 91.79 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05625/2.002, allocations: 20.63 MB / 1.009 GB, free: 74.97 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002565/2.005, allocations: 0.5597 MB / 1.01 GB, free: 74.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002709/2.007, allocations: 3.953 kB / 1.01 GB, free: 74.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006385/2.014, allocations: 443.4 kB / 1.01 GB, free: 74.14 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003936/2.018, allocations: 0.7827 MB / 1.011 GB, free: 73.72 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009814/2.019, allocations: 95.98 kB / 1.011 GB, free: 73.63 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003687/2.022, allocations: 1.828 MB / 1.013 GB, free: 71.96 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.81e-07/2.023, allocations: 0 / 1.013 GB, free: 71.96 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.009601/2.032, allocations: 1.593 MB / 1.014 GB, free: 70.44 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (248): * Single equations (assignments): 245 * 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 {(96,5.5%) 40} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.05709/2.089, allocations: 21.33 MB / 1.035 GB, free: 52.89 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02475/2.114, allocations: 7.982 MB / 1.043 GB, free: 45.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/2.114, allocations: 0 / 1.043 GB, free: 45.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01868/2.133, allocations: 5.962 MB / 1.049 GB, free: 40.32 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00482/2.138, allocations: 241.6 kB / 1.049 GB, free: 40.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02235/2.16, allocations: 6.381 MB / 1.055 GB, free: 34.43 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00206/2.162, allocations: 2.541 MB / 1.058 GB, free: 32.53 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001915/2.164, allocations: 289.9 kB / 1.058 GB, free: 32.33 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002405/2.167, allocations: 1.989 MB / 1.06 GB, free: 30.51 MB / 0.5886 GB Notification: Performance of SimCode: time 1.743e-06/2.167, allocations: 4 kB / 1.06 GB, free: 30.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6136/2.78, allocations: 107.7 MB / 1.165 GB, free: 127.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/2.781, allocations: 142.5 kB / 1.165 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.935/9.715, allocations: 0 / 1.165 GB, free: 127.1 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)