Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008485/0.0008485, allocations: 86.8 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 239 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 184.5 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4648/0.4648, allocations: 79.48 MB / 420.8 MB, free: 3.91 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003651, allocations: 8 kB / 0.4892 GB, free: 5.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3916, allocations: 69.51 MB / 0.5571 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.006431/0.3981, allocations: 6.136 MB / 0.5631 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004317/0.4024, allocations: 1.962 MB / 0.565 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006972/0.4031, allocations: 11.34 kB / 0.565 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006122/0.4038, allocations: 177.4 kB / 0.5652 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.4054, allocations: 0.6734 MB / 0.5658 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.4065, allocations: 0.5326 MB / 0.5664 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.4079, allocations: 1.485 MB / 0.5678 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/0.4083, allocations: 275.8 kB / 0.5681 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006445/0.4089, allocations: 0.5838 MB / 0.5686 GB, free: 35.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006991/0.4096, allocations: 0.7679 MB / 0.5694 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.4098, allocations: 65.09 kB / 0.5695 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.4102, allocations: 188.5 kB / 0.5696 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.4105, allocations: 266.5 kB / 0.5699 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002577/0.4108, allocations: 232.1 kB / 0.5701 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009497/0.4117, allocations: 1.285 MB / 0.5714 GB, free: 35.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.4117, allocations: 0.6562 kB / 0.5714 GB, free: 35.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4117, allocations: 0 / 0.5714 GB, free: 35.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.4118, allocations: 0 / 0.5714 GB, free: 35.08 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.007182/0.419, allocations: 2.605 MB / 0.5739 GB, free: 33.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.419, allocations: 8.719 kB / 0.5739 GB, free: 33.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000193/0.4192, allocations: 130.4 kB / 0.574 GB, free: 33.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004483/0.4237, allocations: 0.7853 MB / 0.5748 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.4252, allocations: 0.888 MB / 0.5757 GB, free: 33.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.4254, allocations: 268.3 kB / 0.5759 GB, free: 32.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.4256, allocations: 83.28 kB / 0.576 GB, free: 32.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.4275, allocations: 1.161 MB / 0.5771 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.4276, allocations: 5.406 kB / 0.5772 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.69e-05/0.4277, allocations: 40.2 kB / 0.5772 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.4277, allocations: 18.38 kB / 0.5772 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.4294, allocations: 1.057 MB / 0.5782 GB, free: 32.12 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.005556/0.435, allocations: 3.998 MB / 0.5821 GB, free: 29.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007021/0.442, allocations: 2.947 MB / 0.585 GB, free: 28.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/0.4437, allocations: 0.7527 MB / 0.5858 GB, free: 28.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.4438, allocations: 11.94 kB / 0.5858 GB, free: 28.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001762/0.4456, allocations: 0.9009 MB / 0.5866 GB, free: 28.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 4.098e-06/0.4456, allocations: 1.031 kB / 0.5866 GB, free: 28.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02823/0.4739, allocations: 8.613 MB / 0.5951 GB, free: 26.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.474, allocations: 117.6 kB / 0.5952 GB, free: 26.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.4758, allocations: 1.129 MB / 0.5963 GB, free: 26.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002521/0.4761, allocations: 47.7 kB / 0.5963 GB, free: 26.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/0.4765, allocations: 0.4934 MB / 0.5968 GB, free: 25.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003752/0.4768, allocations: 371.3 kB / 0.5972 GB, free: 25.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.832e-05/0.477, allocations: 30.38 kB / 0.5972 GB, free: 25.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.4771, allocations: 371.9 kB / 0.5975 GB, free: 25.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/0.4787, allocations: 0.8495 MB / 0.5984 GB, free: 24.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.4806, allocations: 1.031 MB / 0.5994 GB, free: 24.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.4824, allocations: 0.9847 MB / 0.6003 GB, free: 23.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.4824, allocations: 1.125 kB / 0.6003 GB, free: 23.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01509/0.4975, allocations: 5.3 MB / 0.6055 GB, free: 22.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.4977, allocations: 64.27 kB / 0.6056 GB, free: 22.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/0.4977, allocations: 4.031 kB / 0.6056 GB, free: 22.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007936/0.5056, allocations: 2.009 MB / 0.6075 GB, free: 22.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/0.5077, allocations: 298.2 kB / 0.6078 GB, free: 22.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02167/0.5294, allocations: 10.39 MB / 0.618 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/0.5317, allocations: 242.6 kB / 0.6182 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003482/0.5321, allocations: 59.97 kB / 0.6183 GB, free: 13.68 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 167 * 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 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.000939/0.5331, allocations: 308.8 kB / 0.6186 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003926/0.5335, allocations: 126.6 kB / 0.6187 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/0.5451, allocations: 4.761 MB / 0.6233 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/0.5452, allocations: 8 kB / 0.6233 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.789e-05/0.5452, allocations: 8 kB / 0.6233 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.124e-05/0.5453, allocations: 11.92 kB / 0.6234 GB, free: 8.43 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01471/0.56, allocations: 6.383 MB / 0.6296 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.5601, allocations: 3.984 kB / 0.6296 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006859/0.5608, allocations: 111.8 kB / 0.6297 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004926/0.5657, allocations: 1.884 MB / 0.6315 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/0.5659, allocations: 19.94 kB / 0.6316 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02058/0.5865, allocations: 9.667 MB / 0.641 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.5866, allocations: 3.953 kB / 0.641 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01529/0.6019, allocations: 5.702 MB / 0.6466 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007664/0.6027, allocations: 235.2 kB / 0.6468 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000504/0.6032, allocations: 21.59 kB / 0.6468 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/0.6048, allocations: 148.9 kB / 0.647 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000705/0.6055, allocations: 204.6 kB / 0.6471 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/0.6057, allocations: 24 kB / 0.6472 GB, free: 15.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001499/0.6072, allocations: 0.7595 MB / 0.6479 GB, free: 14.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6072, allocations: 0 / 0.6479 GB, free: 14.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002341/0.6095, allocations: 499.6 kB / 0.6484 GB, free: 14.34 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01538/0.6249, allocations: 6.279 MB / 0.6545 GB, free: 8.012 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007286/0.6323, allocations: 3.003 MB / 0.6575 GB, free: 4.953 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.6323, allocations: 0 / 0.6575 GB, free: 4.953 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004283/0.6366, allocations: 1.836 MB / 0.6592 GB, free: 3.082 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.6381, allocations: 117.8 kB / 0.6594 GB, free: 2.973 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02834/0.6665, allocations: 12.65 MB / 0.6717 GB, free: 6.027 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008418/0.6674, allocations: 1.128 MB / 0.6728 GB, free: 4.867 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006688/0.6681, allocations: 120.9 kB / 0.6729 GB, free: 4.75 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008428/0.6689, allocations: 487.3 kB / 0.6734 GB, free: 4.273 MB / 478.1 MB Notification: Performance of SimCode: time 8.91e-07/0.6689, allocations: 0 / 0.6734 GB, free: 4.273 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06257/0.7315, allocations: 33.21 MB / 0.7058 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/0.7317, allocations: 222.4 kB / 0.706 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.766/3.498, allocations: 0 / 0.706 GB, free: 3.223 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: