Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_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.001066/0.001066, allocations: 175 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.297/1.297, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008388/0.0008388, allocations: 88.53 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4582/0.4582, allocations: 78.91 MB / 415.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.548e-05/3.551e-05, allocations: 4 kB / 492.9 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3201, allocations: 69.52 MB / 0.5492 GB, free: 19.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1309/0.4511, allocations: 101.5 MB / 0.6483 GB, free: 14.15 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.4514, allocations: 79.94 kB / 0.6484 GB, free: 14.07 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4953/0.9468, allocations: 71.39 MB / 0.7181 GB, free: 90.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.9468, allocations: 0 / 0.7181 GB, free: 90.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000231/0.9471, allocations: 63.88 kB / 0.7181 GB, free: 90.4 MB / 490.7 MB 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.01269/0.9598, allocations: 4.082 MB / 0.7221 GB, free: 86.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.9598, allocations: 19.95 kB / 0.7221 GB, free: 86.22 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001142/0.961, allocations: 295.3 kB / 0.7224 GB, free: 85.92 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009637/0.9706, allocations: 1.615 MB / 0.724 GB, free: 84.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004673/0.9753, allocations: 1.659 MB / 0.7256 GB, free: 82.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006994/0.9761, allocations: 0.7486 MB / 0.7264 GB, free: 81.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009199/0.977, allocations: 216 kB / 0.7266 GB, free: 81.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006234/0.9832, allocations: 2.584 MB / 0.7291 GB, free: 78.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.004e-05/0.9833, allocations: 0 / 0.7291 GB, free: 78.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004212/0.9837, allocations: 80 kB / 0.7292 GB, free: 78.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/0.9838, allocations: 52 kB / 0.7292 GB, free: 78.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004368/0.9882, allocations: 2.336 MB / 0.7315 GB, free: 76.36 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.01919/1.007, allocations: 10.01 MB / 0.7413 GB, free: 65.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009071/1.016, allocations: 4.223 MB / 0.7454 GB, free: 61.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002513/1.019, allocations: 1.548 MB / 0.7469 GB, free: 60.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003613/1.019, allocations: 41.97 kB / 0.7469 GB, free: 59.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003117/1.023, allocations: 1.816 MB / 0.7487 GB, free: 58.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=250): time 6.042e-06/1.023, allocations: 0 / 0.7487 GB, free: 58.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=250): time 0.03586/1.058, allocations: 12.59 MB / 0.761 GB, free: 45.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.246e-05/1.059, allocations: 184.2 kB / 0.7612 GB, free: 45.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003941/1.063, allocations: 1.898 MB / 0.763 GB, free: 43.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008258/1.063, allocations: 65.7 kB / 0.7631 GB, free: 43.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007065/1.064, allocations: 1.216 MB / 0.7643 GB, free: 42.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001008/1.065, allocations: 0.8663 MB / 0.7651 GB, free: 41.19 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/1.065, allocations: 48 kB / 0.7652 GB, free: 41.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/1.065, allocations: 399.1 kB / 0.7656 GB, free: 40.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/1.068, allocations: 1.278 MB / 0.7668 GB, free: 39.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/1.07, allocations: 1.579 MB / 0.7684 GB, free: 37.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/1.072, allocations: 1.506 MB / 0.7698 GB, free: 36.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/1.072, allocations: 4 kB / 0.7698 GB, free: 36.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=320) (initialization): time 0.03503/1.107, allocations: 12.72 MB / 0.7823 GB, free: 23.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.349e-05/1.107, allocations: 122.7 kB / 0.7824 GB, free: 23.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/1.107, allocations: 4 kB / 0.7824 GB, free: 23.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01598/1.123, allocations: 5.342 MB / 0.7876 GB, free: 17.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/1.125, allocations: 415.4 kB / 0.788 GB, free: 17.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03688/1.162, allocations: 19.26 MB / 0.8068 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004305/1.166, allocations: 0.5405 MB / 0.8073 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004341/1.167, allocations: 91.97 kB / 0.8074 GB, free: 13.32 MB / 0.4948 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.0006671/1.168, allocations: 297.2 kB / 0.8077 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007449/1.168, allocations: 300.2 kB / 0.808 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03802/1.206, allocations: 12.95 MB / 0.8206 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.814e-05/1.206, allocations: 28 kB / 0.8207 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.432e-05/1.206, allocations: 19.98 kB / 0.8207 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.026e-05/1.207, allocations: 19.91 kB / 0.8207 GB, free: 15.61 MB / 0.5105 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.04331/1.25, allocations: 16.52 MB / 0.8368 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-05/1.25, allocations: 0 / 0.8368 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/1.252, allocations: 251.6 kB / 0.8371 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01556/1.267, allocations: 5.004 MB / 0.842 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009539/1.268, allocations: 55.98 kB / 0.842 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03934/1.308, allocations: 19.31 MB / 0.8609 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.308, allocations: 0 / 0.8609 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04109/1.349, allocations: 14.92 MB / 0.8754 GB, free: 6.75 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/1.35, allocations: 428.8 kB / 0.8758 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004937/1.35, allocations: 44 kB / 0.8759 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002996/1.353, allocations: 407.6 kB / 0.8763 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002066/1.356, allocations: 0.5837 MB / 0.8768 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002171/1.356, allocations: 67.98 kB / 0.8769 GB, free: 5.215 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002018/1.358, allocations: 1.446 MB / 0.8783 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.51e-07/1.358, allocations: 0 / 0.8783 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002945/1.361, allocations: 1.127 MB / 0.8794 GB, free: 2.633 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.0406/1.401, allocations: 15.71 MB / 0.8948 GB, free: 2.781 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.3256/1.727, allocations: 5.92 MB / 0.9005 GB, free: 175 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.727, allocations: 1.438 kB / 0.9005 GB, free: 175 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0126/1.74, allocations: 4.397 MB / 0.9048 GB, free: 174.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/1.742, allocations: 240.2 kB / 0.9051 GB, free: 174.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009336/1.751, allocations: 4.751 MB / 0.9097 GB, free: 173.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/1.752, allocations: 1.874 MB / 0.9115 GB, free: 172.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009398/1.753, allocations: 217.8 kB / 0.9117 GB, free: 172.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00138/1.755, allocations: 1.219 MB / 0.9129 GB, free: 172.2 MB / 0.573 GB Notification: Performance of SimCode: time 1.132e-06/1.755, allocations: 3.906 kB / 0.9129 GB, free: 172.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1044/1.859, allocations: 79.8 MB / 0.9909 GB, free: 116.8 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/1.859, allocations: 186.7 kB / 0.9911 GB, free: 116.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.462/6.322, allocations: 0 / 0.9911 GB, free: 116.6 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)