Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.TwoArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_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.001219/0.001219, 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.439/1.439, 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.0009414/0.0009418, allocations: 82.3 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.4805/0.4805, allocations: 78.08 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.22e-05/4.261e-05, allocations: 7.984 kB / 491.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3812, allocations: 69.34 MB / 0.5481 GB, free: 20.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.5178, allocations: 101.7 MB / 0.6474 GB, free: 14.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.5181, allocations: 83.95 kB / 0.6475 GB, free: 14.72 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6225/1.141, allocations: 98.69 MB / 0.7439 GB, free: 64.06 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.315e-06/1.141, allocations: 0 / 0.7439 GB, free: 64.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005075/1.141, allocations: 91.94 kB / 0.744 GB, free: 63.97 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: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.01959/1.161, allocations: 5.736 MB / 0.7496 GB, free: 58.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.161, allocations: 19.91 kB / 0.7496 GB, free: 58.14 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001948/1.163, allocations: 484.8 kB / 0.7501 GB, free: 57.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01751/1.18, allocations: 2.779 MB / 0.7528 GB, free: 54.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00698/1.187, allocations: 2.263 MB / 0.755 GB, free: 52.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009316/1.188, allocations: 0.9634 MB / 0.7559 GB, free: 51.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001602/1.19, allocations: 336 kB / 0.7562 GB, free: 51.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0122/1.202, allocations: 4.084 MB / 0.7602 GB, free: 46.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/1.202, allocations: 0 / 0.7602 GB, free: 46.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001117/1.204, allocations: 144 kB / 0.7604 GB, free: 46.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.989e-05/1.204, allocations: 84 kB / 0.7604 GB, free: 46.76 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007779/1.211, allocations: 3.613 MB / 0.764 GB, free: 43.14 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.03517/1.247, allocations: 18.62 MB / 0.7822 GB, free: 23.33 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/1.257, allocations: 4.768 MB / 0.7868 GB, free: 18.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003963/1.261, allocations: 2.221 MB / 0.789 GB, free: 16.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007356/1.262, allocations: 66.91 kB / 0.789 GB, free: 16.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/1.262, allocations: 77.55 kB / 0.7891 GB, free: 16.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=380): time 6.833e-06/1.262, allocations: 0 / 0.7891 GB, free: 16.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=380): time 0.0546/1.316, allocations: 17.44 MB / 0.8062 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/1.317, allocations: 175.5 kB / 0.8063 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006656/1.323, allocations: 2.633 MB / 0.8089 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001264/1.325, allocations: 85.7 kB / 0.809 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001709/1.326, allocations: 1.983 MB / 0.8109 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002381/1.329, allocations: 1.29 MB / 0.8122 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003006/1.329, allocations: 72 kB / 0.8122 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002323/1.329, allocations: 438.4 kB / 0.8127 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003247/1.332, allocations: 1.819 MB / 0.8144 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003738/1.336, allocations: 2.406 MB / 0.8168 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003628/1.34, allocations: 2.074 MB / 0.8188 GB, free: 1.305 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/1.34, allocations: 4 kB / 0.8188 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.05447/1.394, allocations: 17.66 MB / 0.8361 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003239/1.398, allocations: 6.672 MB / 0.8426 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.055e-05/1.398, allocations: 16 kB / 0.8426 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0255/1.423, allocations: 6.911 MB / 0.8493 GB, free: 1.449 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00318/1.426, allocations: 0.546 MB / 0.8499 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06164/1.488, allocations: 25.54 MB / 0.8748 GB, free: 7.191 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006509/1.495, allocations: 0.6957 MB / 0.8755 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008973/1.496, allocations: 136 kB / 0.8756 GB, free: 6.359 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.496, allocations: 4 kB / 0.8756 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05328/1.549, allocations: 17.23 MB / 0.8925 GB, free: 5.07 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.128e-05/1.549, allocations: 16 kB / 0.8925 GB, free: 5.055 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4002/1.949, allocations: 6.91 MB / 0.8992 GB, free: 128.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003136/1.952, allocations: 0.5278 MB / 0.8997 GB, free: 128.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0601/2.013, allocations: 25.54 MB / 0.9247 GB, free: 126.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006246/2.019, allocations: 0.6635 MB / 0.9253 GB, free: 126.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000832/2.02, allocations: 128.6 kB / 0.9254 GB, free: 126.5 MB / 0.573 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 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 order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 319 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.001023/2.021, allocations: 332.7 kB / 0.9258 GB, free: 126.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/2.022, allocations: 452 kB / 0.9262 GB, free: 126.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05038/2.073, allocations: 17.98 MB / 0.9437 GB, free: 123 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.04e-05/2.073, allocations: 40.14 kB / 0.9438 GB, free: 123 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.399e-05/2.073, allocations: 31.97 kB / 0.9438 GB, free: 123 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.245e-05/2.073, allocations: 19.12 kB / 0.9438 GB, free: 123 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.05824/2.131, allocations: 23.22 MB / 0.9665 GB, free: 117.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/2.131, allocations: 0 / 0.9665 GB, free: 117.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002414/2.134, allocations: 405.4 kB / 0.9669 GB, free: 117.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02183/2.155, allocations: 6.966 MB / 0.9737 GB, free: 113 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001228/2.157, allocations: 71.75 kB / 0.9738 GB, free: 112.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04825/2.205, allocations: 22.55 MB / 0.9958 GB, free: 93.23 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/2.205, allocations: 0 / 0.9958 GB, free: 93.23 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0539/2.259, allocations: 20.81 MB / 1.016 GB, free: 76.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/2.261, allocations: 0.5508 MB / 1.017 GB, free: 75.71 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001534/2.262, allocations: 68.77 kB / 1.017 GB, free: 75.64 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004811/2.267, allocations: 489.9 kB / 1.017 GB, free: 75.27 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003065/2.27, allocations: 0.7601 MB / 1.018 GB, free: 74.86 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004061/2.271, allocations: 91.38 kB / 1.018 GB, free: 74.77 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002922/2.274, allocations: 2.002 MB / 1.02 GB, free: 72.92 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.71e-07/2.274, allocations: 0 / 1.02 GB, free: 72.92 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01054/2.284, allocations: 2.867 MB / 1.023 GB, free: 70.18 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,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 248 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05461/2.339, allocations: 21.54 MB / 1.044 GB, free: 52.31 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04033/2.379, allocations: 14.42 MB / 1.058 GB, free: 39.26 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/2.379, allocations: 4.062 kB / 1.058 GB, free: 39.26 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01816/2.397, allocations: 5.994 MB / 1.064 GB, free: 33.96 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003716/2.401, allocations: 307.9 kB / 1.064 GB, free: 33.67 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/2.418, allocations: 6.699 MB / 1.071 GB, free: 27.66 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001805/2.419, allocations: 2.59 MB / 1.073 GB, free: 25.74 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003014/2.423, allocations: 0.6078 MB / 1.074 GB, free: 25.33 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00196/2.424, allocations: 1.911 MB / 1.076 GB, free: 23.57 MB / 0.573 GB Notification: Performance of SimCode: time 1.213e-06/2.424, allocations: 3.938 kB / 1.076 GB, free: 23.57 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5754/3, allocations: 147.6 MB / 1.22 GB, free: 125 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001322/3, allocations: 193 kB / 1.22 GB, free: 124.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/11.02, allocations: 0 / 1.22 GB, free: 124.8 MB / 0.6042 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)