Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_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.001139/0.001139, allocations: 178.4 kB / 7.65 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.385/1.385, allocations: 221.5 MB / 229.6 MB, free: 7.562 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.000926/0.000926, allocations: 91.61 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4797/0.4797, allocations: 78.13 MB / 409.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.94e-05/1.934e-05, allocations: 7.938 kB / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1339, allocations: 69.37 MB / 0.5414 GB, free: 6.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3911/0.525, allocations: 100.2 MB / 0.6393 GB, free: 15.33 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.5253, allocations: 76.58 kB / 0.6394 GB, free: 15.26 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1839/0.7092, allocations: 69.69 MB / 0.7074 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.895e-06/0.7093, allocations: 0.5625 kB / 0.7074 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002455/0.7096, allocations: 55.94 kB / 0.7075 GB, free: 9.41 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.0137/0.7233, allocations: 4.077 MB / 0.7114 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.7233, allocations: 8.031 kB / 0.7115 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.7337, allocations: 1.6 MB / 0.713 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004145/0.7379, allocations: 1.666 MB / 0.7146 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007155/0.7387, allocations: 0.6723 MB / 0.7153 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006368/0.7393, allocations: 123.9 kB / 0.7154 GB, free: 1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004651/0.744, allocations: 2.234 MB / 0.7176 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004285/0.7483, allocations: 2.298 MB / 0.7198 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/0.7484, allocations: 3.953 kB / 0.7198 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002328/0.7486, allocations: 0 / 0.7198 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/0.7487, allocations: 48 kB / 0.7199 GB, free: 12.34 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.01962/0.7683, allocations: 9.683 MB / 0.7293 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009961/0.7783, allocations: 4.126 MB / 0.7334 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002571/0.7809, allocations: 1.476 MB / 0.7348 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003201/0.7812, allocations: 41.97 kB / 0.7349 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002814/0.784, allocations: 1.737 MB / 0.7366 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=250): time 4.077e-06/0.7841, allocations: 0 / 0.7366 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=250): time 0.03851/0.8226, allocations: 12.36 MB / 0.7486 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.122e-05/0.8227, allocations: 184.2 kB / 0.7488 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002653/0.8254, allocations: 1.729 MB / 0.7505 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006453/0.826, allocations: 37.75 kB / 0.7505 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008976/0.8269, allocations: 1.211 MB / 0.7517 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/0.828, allocations: 0.8273 MB / 0.7525 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.8282, allocations: 0 / 0.7525 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.8284, allocations: 404 kB / 0.7529 GB, free: 9.871 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/0.8304, allocations: 1.224 MB / 0.7541 GB, free: 8.645 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002235/0.8327, allocations: 1.523 MB / 0.7556 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002161/0.8349, allocations: 1.342 MB / 0.7569 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.8349, allocations: 4 kB / 0.7569 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.308/1.143, allocations: 12.37 MB / 0.769 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.981e-05/1.143, allocations: 115 kB / 0.7691 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/1.143, allocations: 11.75 kB / 0.7691 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01703/1.16, allocations: 5.062 MB / 0.774 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/1.162, allocations: 419.3 kB / 0.7744 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04025/1.203, allocations: 18.89 MB / 0.7929 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004238/1.207, allocations: 496.9 kB / 0.7934 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003937/1.207, allocations: 95.47 kB / 0.7935 GB, free: 110.5 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (229): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 4 * 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0006221/1.208, allocations: 204.9 kB / 0.7937 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04007/1.248, allocations: 12.36 MB / 0.8057 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001308/1.249, allocations: 297.2 kB / 0.806 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03671/1.286, allocations: 12.65 MB / 0.8184 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-05/1.286, allocations: 28.25 kB / 0.8184 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.764e-05/1.286, allocations: 19.19 kB / 0.8184 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.753e-05/1.286, allocations: 13.88 kB / 0.8184 GB, free: 108.7 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.04151/1.328, allocations: 16.03 MB / 0.8341 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-05/1.328, allocations: 3.656 kB / 0.8341 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/1.33, allocations: 244.3 kB / 0.8343 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01509/1.345, allocations: 4.957 MB / 0.8392 GB, free: 106 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008108/1.346, allocations: 24.2 kB / 0.8392 GB, free: 106 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03572/1.381, allocations: 19 MB / 0.8577 GB, free: 95.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.381, allocations: 1.594 kB / 0.8577 GB, free: 95.46 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03958/1.421, allocations: 14.65 MB / 0.872 GB, free: 84.54 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/1.422, allocations: 421.4 kB / 0.8724 GB, free: 84.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007092/1.423, allocations: 4 kB / 0.8724 GB, free: 84.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003242/1.426, allocations: 373.1 kB / 0.8728 GB, free: 83.89 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001883/1.428, allocations: 0.5764 MB / 0.8734 GB, free: 83.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002294/1.428, allocations: 67.23 kB / 0.8734 GB, free: 83.52 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001713/1.43, allocations: 1.304 MB / 0.8747 GB, free: 82.31 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.71e-07/1.43, allocations: 0 / 0.8747 GB, free: 82.31 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003686/1.434, allocations: 1.017 MB / 0.8757 GB, free: 81.34 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.03889/1.472, allocations: 15.39 MB / 0.8907 GB, free: 68.59 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0141/1.487, allocations: 5.736 MB / 0.8963 GB, free: 63.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.487, allocations: 0 / 0.8963 GB, free: 63.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01125/1.498, allocations: 4.285 MB / 0.9005 GB, free: 59.45 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/1.5, allocations: 189.9 kB / 0.9007 GB, free: 59.29 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/1.511, allocations: 4.563 MB / 0.9051 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/1.512, allocations: 1.874 MB / 0.907 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009997/1.513, allocations: 215 kB / 0.9072 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/1.514, allocations: 1.212 MB / 0.9084 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of SimCode: time 6.01e-07/1.514, allocations: 0 / 0.9084 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3732/1.887, allocations: 74.88 MB / 0.9815 GB, free: 120 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/1.888, allocations: 152.4 kB / 0.9816 GB, free: 119.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.875/6.762, allocations: 0 / 0.9816 GB, free: 119.9 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)