Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_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.001099/0.001099, allocations: 174.8 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.357/1.357, allocations: 221.4 MB / 234.6 MB, free: 14.47 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.0008926/0.0008926, allocations: 99.02 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.486/0.486, allocations: 78.08 MB / 414.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.409e-05, allocations: 4 kB / 491.9 MB, free: 13.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3744, allocations: 69.33 MB / 0.5481 GB, free: 20.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1454/0.5199, allocations: 102.1 MB / 0.6478 GB, free: 14.41 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.5202, allocations: 79.95 kB / 0.6479 GB, free: 14.33 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5834/1.104, allocations: 100 MB / 0.7456 GB, free: 62.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.026e-06/1.104, allocations: 4 kB / 0.7456 GB, free: 62.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005038/1.104, allocations: 87.94 kB / 0.7457 GB, free: 62.3 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.02045/1.125, allocations: 5.747 MB / 0.7513 GB, free: 56.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/1.125, allocations: 11.97 kB / 0.7513 GB, free: 56.46 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002206/1.127, allocations: 492.8 kB / 0.7518 GB, free: 55.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01775/1.145, allocations: 2.787 MB / 0.7545 GB, free: 53.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00724/1.152, allocations: 2.255 MB / 0.7567 GB, free: 50.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001023/1.153, allocations: 0.9885 MB / 0.7577 GB, free: 49.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001858/1.155, allocations: 343.8 kB / 0.758 GB, free: 49.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01339/1.168, allocations: 4.084 MB / 0.762 GB, free: 45.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/1.168, allocations: 0 / 0.762 GB, free: 45.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007698/1.169, allocations: 144 kB / 0.7621 GB, free: 45.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.796e-05/1.169, allocations: 84 kB / 0.7622 GB, free: 45.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009265/1.179, allocations: 3.617 MB / 0.7657 GB, free: 41.43 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.03872/1.217, allocations: 18.58 MB / 0.7839 GB, free: 21.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01127/1.229, allocations: 4.794 MB / 0.7886 GB, free: 16.78 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004403/1.233, allocations: 2.223 MB / 0.7907 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008039/1.234, allocations: 78.89 kB / 0.7908 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006029/1.24, allocations: 2.597 MB / 0.7933 GB, free: 11.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=383): time 9.438e-06/1.24, allocations: 0 / 0.7933 GB, free: 11.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=383): time 0.05439/1.294, allocations: 17.58 MB / 0.8105 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/1.295, allocations: 145.8 kB / 0.8107 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00704/1.302, allocations: 2.638 MB / 0.8132 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00116/1.303, allocations: 89.7 kB / 0.8133 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002052/1.305, allocations: 1.998 MB / 0.8153 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002632/1.308, allocations: 1.309 MB / 0.8165 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/1.309, allocations: 68 kB / 0.8166 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003919/1.309, allocations: 445.8 kB / 0.817 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004394/1.313, allocations: 1.835 MB / 0.8188 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004813/1.318, allocations: 2.418 MB / 0.8212 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004638/1.323, allocations: 2.087 MB / 0.8232 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.127e-05/1.323, allocations: 4 kB / 0.8232 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.05763/1.381, allocations: 17.74 MB / 0.8406 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.405e-05/1.381, allocations: 63.41 kB / 0.8406 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.128e-05/1.381, allocations: 15.94 kB / 0.8406 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0243/1.405, allocations: 6.973 MB / 0.8474 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003165/1.408, allocations: 0.5616 MB / 0.848 GB, free: 3.414 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06298/1.471, allocations: 25.75 MB / 0.8731 GB, free: 9.488 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007188/1.478, allocations: 0.6996 MB / 0.8738 GB, free: 8.785 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008836/1.479, allocations: 139.9 kB / 0.874 GB, free: 8.648 MB / 0.5573 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis 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 (331): * Single equations (assignments): 328 * 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.0009888/1.48, allocations: 334.3 kB / 0.8743 GB, free: 8.309 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001529/1.482, allocations: 458.3 kB / 0.8747 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0541/1.536, allocations: 18.12 MB / 0.8924 GB, free: 5.664 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.869e-05/1.536, allocations: 40 kB / 0.8925 GB, free: 5.625 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.534e-05/1.536, allocations: 28 kB / 0.8925 GB, free: 5.598 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000116/1.536, allocations: 15.94 kB / 0.8925 GB, free: 5.582 MB / 0.573 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.448/1.984, allocations: 23.07 MB / 0.915 GB, free: 137.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.333e-05/1.984, allocations: 0 / 0.915 GB, free: 137.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/1.987, allocations: 393.1 kB / 0.9154 GB, free: 137.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02216/2.009, allocations: 7.036 MB / 0.9223 GB, free: 137.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001223/2.01, allocations: 72.23 kB / 0.9223 GB, free: 137.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05341/2.064, allocations: 24.51 MB / 0.9463 GB, free: 132 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/2.064, allocations: 0 / 0.9463 GB, free: 132 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0561/2.12, allocations: 20.96 MB / 0.9667 GB, free: 122.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001886/2.122, allocations: 0.5555 MB / 0.9673 GB, free: 121.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001168/2.123, allocations: 73.22 kB / 0.9674 GB, free: 121.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004469/2.127, allocations: 498.3 kB / 0.9678 GB, free: 121.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003011/2.13, allocations: 0.7745 MB / 0.9686 GB, free: 120.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003222/2.131, allocations: 95.62 kB / 0.9687 GB, free: 120.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002691/2.133, allocations: 2.006 MB / 0.9706 GB, free: 118.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/2.133, allocations: 0 / 0.9706 GB, free: 118.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004999/2.138, allocations: 1.761 MB / 0.9724 GB, free: 117.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.05485/2.193, allocations: 21.69 MB / 0.9935 GB, free: 99.41 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02141/2.215, allocations: 8.226 MB / 1.002 GB, free: 91.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/2.215, allocations: 448 / 1.002 GB, free: 91.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01764/2.232, allocations: 6.13 MB / 1.008 GB, free: 86.46 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003697/2.236, allocations: 309.9 kB / 1.008 GB, free: 86.17 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/2.25, allocations: 6.554 MB / 1.014 GB, free: 80.31 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001499/2.252, allocations: 2.541 MB / 1.017 GB, free: 78.41 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001416/2.253, allocations: 301.8 kB / 1.017 GB, free: 78.21 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001916/2.255, allocations: 1.932 MB / 1.019 GB, free: 76.43 MB / 0.573 GB Notification: Performance of SimCode: time 8.92e-07/2.255, allocations: 0 / 1.019 GB, free: 76.43 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5321/2.787, allocations: 113.3 MB / 1.13 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/2.787, allocations: 186.1 kB / 1.13 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.3/9.087, allocations: 0 / 1.13 GB, free: 156.2 MB / 0.5886 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)