Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.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_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI",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.001025/0.001025, allocations: 175.2 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.237/1.237, allocations: 221.4 MB / 234.6 MB, free: 14.36 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.0008912/0.0008911, allocations: 99.94 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4646/0.4646, allocations: 78.91 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.677e-05/4.678e-05, allocations: 4 kB / 492.9 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3392, allocations: 69.49 MB / 0.5492 GB, free: 19.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.467, allocations: 101 MB / 0.6479 GB, free: 14.55 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.4673, allocations: 87.88 kB / 0.648 GB, free: 14.46 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4707/0.938, allocations: 68.7 MB / 0.7151 GB, free: 93.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.938, allocations: 4 kB / 0.7151 GB, free: 93.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002873/0.9383, allocations: 59.88 kB / 0.7151 GB, free: 93.45 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.01257/0.9509, allocations: 4.051 MB / 0.7191 GB, free: 89.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.951, allocations: 11.97 kB / 0.7191 GB, free: 89.31 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001055/0.952, allocations: 307.2 kB / 0.7194 GB, free: 89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009495/0.9615, allocations: 1.596 MB / 0.7209 GB, free: 87.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003475/0.965, allocations: 1.67 MB / 0.7226 GB, free: 85.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004832/0.9655, allocations: 0.6944 MB / 0.7232 GB, free: 84.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004027/0.9659, allocations: 207.9 kB / 0.7234 GB, free: 84.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004024/0.97, allocations: 2.573 MB / 0.726 GB, free: 82.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/0.97, allocations: 11.94 kB / 0.726 GB, free: 82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002293/0.9703, allocations: 80 kB / 0.726 GB, free: 81.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.9703, allocations: 48 kB / 0.7261 GB, free: 81.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00351/0.9738, allocations: 2.332 MB / 0.7284 GB, free: 79.52 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.0156/0.9894, allocations: 10.12 MB / 0.7383 GB, free: 68.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008056/0.9975, allocations: 4.05 MB / 0.7422 GB, free: 64.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002189/0.9997, allocations: 1.55 MB / 0.7437 GB, free: 63.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002518/1, allocations: 38.05 kB / 0.7438 GB, free: 63.17 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/1, allocations: 60.56 kB / 0.7438 GB, free: 63.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 4.228e-06/1, allocations: 3.938 kB / 0.7438 GB, free: 63.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=244): time 0.03285/1.033, allocations: 12.33 MB / 0.7559 GB, free: 50.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/1.033, allocations: 231.6 kB / 0.7561 GB, free: 50.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002734/1.036, allocations: 1.882 MB / 0.7579 GB, free: 48.56 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006513/1.036, allocations: 69.7 kB / 0.758 GB, free: 48.49 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006759/1.037, allocations: 1.212 MB / 0.7592 GB, free: 47.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008994/1.038, allocations: 0.8509 MB / 0.76 GB, free: 46.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/1.038, allocations: 48 kB / 0.76 GB, free: 46.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/1.038, allocations: 390.7 kB / 0.7604 GB, free: 45.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002072/1.04, allocations: 1.239 MB / 0.7616 GB, free: 44.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/1.042, allocations: 1.555 MB / 0.7631 GB, free: 43.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/1.044, allocations: 1.475 MB / 0.7646 GB, free: 41.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/1.045, allocations: 4 kB / 0.7646 GB, free: 41.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.03379/1.078, allocations: 12.54 MB / 0.7768 GB, free: 28.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005707/1.079, allocations: 2.877 MB / 0.7796 GB, free: 25.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/1.079, allocations: 8 kB / 0.7797 GB, free: 25.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01511/1.094, allocations: 5.177 MB / 0.7847 GB, free: 20.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/1.096, allocations: 367.5 kB / 0.7851 GB, free: 20.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03609/1.132, allocations: 18.87 MB / 0.8035 GB, free: 1.082 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004024/1.136, allocations: 0.5288 MB / 0.804 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003555/1.137, allocations: 79.98 kB / 0.8041 GB, free: 484 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/1.137, allocations: 4 kB / 0.8041 GB, free: 480 kB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03558/1.172, allocations: 12.26 MB / 0.8161 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-05/1.172, allocations: 7.984 kB / 0.8161 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01632/1.189, allocations: 5.177 MB / 0.8211 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/1.191, allocations: 359.5 kB / 0.8215 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03933/1.23, allocations: 18.89 MB / 0.8399 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003918/1.234, allocations: 497.9 kB / 0.8404 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000321/1.234, allocations: 87.97 kB / 0.8405 GB, free: 10.82 MB / 0.5261 GB Warning: Assuming fixed start value for the following 6 variables: 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 Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 205 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0008434/1.235, allocations: 285.1 kB / 0.8407 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006793/1.236, allocations: 296.3 kB / 0.841 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03703/1.273, allocations: 12.67 MB / 0.8534 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-05/1.273, allocations: 24 kB / 0.8534 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.662e-05/1.273, allocations: 20 kB / 0.8534 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.612e-05/1.273, allocations: 11.95 kB / 0.8535 GB, free: 13.46 MB / 0.5417 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.04319/1.316, allocations: 16.44 MB / 0.8695 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.481e-05/1.316, allocations: 0 / 0.8695 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001944/1.318, allocations: 275.6 kB / 0.8698 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01445/1.333, allocations: 4.814 MB / 0.8745 GB, free: 7.766 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007632/1.334, allocations: 51.98 kB / 0.8745 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03575/1.369, allocations: 15.37 MB / 0.8895 GB, free: 8.195 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.37, allocations: 4 kB / 0.8895 GB, free: 8.191 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3831/1.753, allocations: 14.62 MB / 0.9038 GB, free: 165.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.754, allocations: 420.7 kB / 0.9042 GB, free: 165.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005703/1.754, allocations: 47.78 kB / 0.9043 GB, free: 165.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003081/1.757, allocations: 396.3 kB / 0.9046 GB, free: 165.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001969/1.759, allocations: 0.5527 MB / 0.9052 GB, free: 165.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000212/1.76, allocations: 61.86 kB / 0.9052 GB, free: 165.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002183/1.762, allocations: 1.446 MB / 0.9067 GB, free: 165.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.21e-07/1.762, allocations: 1.312 kB / 0.9067 GB, free: 165.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004196/1.766, allocations: 1.786 MB / 0.9084 GB, free: 165.2 MB / 0.573 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.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * 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: 1 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03602/1.802, allocations: 15.39 MB / 0.9234 GB, free: 164 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02415/1.826, allocations: 10.34 MB / 0.9335 GB, free: 162.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.826, allocations: 3.438 kB / 0.9335 GB, free: 162.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01047/1.837, allocations: 4.067 MB / 0.9375 GB, free: 161.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/1.839, allocations: 239.5 kB / 0.9377 GB, free: 160.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008253/1.847, allocations: 4.835 MB / 0.9425 GB, free: 156.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/1.848, allocations: 1.911 MB / 0.9443 GB, free: 155.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001706/1.85, allocations: 459 kB / 0.9448 GB, free: 155.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/1.851, allocations: 1.187 MB / 0.9459 GB, free: 154 MB / 0.573 GB Notification: Performance of SimCode: time 6.31e-07/1.851, allocations: 0 / 0.9459 GB, free: 154 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1329/1.984, allocations: 101.3 MB / 1.045 GB, free: 64.27 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000141/1.984, allocations: 186 kB / 1.045 GB, free: 64.05 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.153/7.137, allocations: 4 kB / 1.045 GB, free: 64.04 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)