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.001517/0.001517, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 221.5 MB / 229.6 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008621/0.0008619, allocations: 94.36 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4752/0.4752, allocations: 78.12 MB / 409.4 MB, free: 6.453 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.281e-05/2.274e-05, allocations: 7.922 kB / 485 MB, free: 12.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1582, allocations: 69.37 MB / 0.5414 GB, free: 6.848 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.473/0.6313, allocations: 101.1 MB / 0.6401 GB, free: 14.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.6316, allocations: 79.95 kB / 0.6402 GB, free: 14.43 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2526/0.8842, allocations: 97.39 MB / 0.7353 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8842, allocations: 0 / 0.7353 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003706/0.8846, allocations: 87.94 kB / 0.7354 GB, free: 12.56 MB / 0.5417 GB 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.02052/0.9052, allocations: 5.731 MB / 0.741 GB, free: 6.754 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.9052, allocations: 8.031 kB / 0.741 GB, free: 6.746 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01851/0.9237, allocations: 2.779 MB / 0.7437 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006638/0.9304, allocations: 2.266 MB / 0.7459 GB, free: 1.613 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001093/0.9315, allocations: 0.8346 MB / 0.7467 GB, free: 0.6484 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0014/0.9329, allocations: 204 kB / 0.7469 GB, free: 460 kB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008739/0.9417, allocations: 3.439 MB / 0.7503 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008174/0.9499, allocations: 3.579 MB / 0.7538 GB, free: 9.398 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.678e-05/0.95, allocations: 0 / 0.7538 GB, free: 9.398 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003365/0.9504, allocations: 4 kB / 0.7538 GB, free: 9.395 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-05/0.9504, allocations: 85.03 kB / 0.7539 GB, free: 9.312 MB / 0.5573 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 preOpt removeSimpleEquations (simulation): time 0.4147/1.365, allocations: 18.08 MB / 0.7715 GB, free: 86.05 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0098/1.375, allocations: 4.651 MB / 0.7761 GB, free: 85.62 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003718/1.379, allocations: 2.117 MB / 0.7781 GB, free: 85.59 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004502/1.379, allocations: 70.92 kB / 0.7782 GB, free: 85.58 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.531e-05/1.379, allocations: 70.61 kB / 0.7783 GB, free: 85.54 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=380): time 6.583e-06/1.379, allocations: 5.938 kB / 0.7783 GB, free: 85.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=380): time 0.05307/1.432, allocations: 17.15 MB / 0.795 GB, free: 85.03 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.397e-05/1.433, allocations: 168.1 kB / 0.7952 GB, free: 84.87 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005045/1.438, allocations: 2.426 MB / 0.7975 GB, free: 84.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001308/1.439, allocations: 25.7 kB / 0.7976 GB, free: 84.56 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001659/1.441, allocations: 1.997 MB / 0.7995 GB, free: 84.13 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002217/1.443, allocations: 1.245 MB / 0.8007 GB, free: 83.47 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/1.443, allocations: 0 / 0.8007 GB, free: 83.47 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002105/1.443, allocations: 442.8 kB / 0.8012 GB, free: 83.16 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003065/1.446, allocations: 1.749 MB / 0.8029 GB, free: 83.15 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003466/1.45, allocations: 2.306 MB / 0.8051 GB, free: 82.59 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00365/1.454, allocations: 1.953 MB / 0.807 GB, free: 82.51 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.593e-05/1.454, allocations: 3.375 kB / 0.807 GB, free: 82.51 MB / 0.5573 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.05572/1.509, allocations: 17.26 MB / 0.8239 GB, free: 81.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001544/1.511, allocations: 6.661 MB / 0.8304 GB, free: 74.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.384e-05/1.511, allocations: 22.52 kB / 0.8304 GB, free: 74.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02276/1.534, allocations: 6.837 MB / 0.8371 GB, free: 73.99 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003081/1.537, allocations: 0.5407 MB / 0.8376 GB, free: 73.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05404/1.591, allocations: 25.03 MB / 0.8621 GB, free: 65.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006659/1.598, allocations: 0.6226 MB / 0.8627 GB, free: 65.63 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/1.599, allocations: 127.9 kB / 0.8628 GB, free: 65.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/1.599, allocations: 3.625 kB / 0.8628 GB, free: 65.6 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04794/1.647, allocations: 16.77 MB / 0.8792 GB, free: 62.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001113/1.647, allocations: 16.28 kB / 0.8792 GB, free: 62.53 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02146/1.668, allocations: 6.847 MB / 0.8859 GB, free: 57.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/1.671, allocations: 0.53 MB / 0.8864 GB, free: 57.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0533/1.725, allocations: 25.03 MB / 0.9108 GB, free: 35.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00631/1.731, allocations: 0.5888 MB / 0.9114 GB, free: 34.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008735/1.732, allocations: 131.2 kB / 0.9115 GB, free: 34.79 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 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.001058/1.733, allocations: 207.2 kB / 0.9117 GB, free: 34.59 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04728/1.78, allocations: 17.16 MB / 0.9285 GB, free: 21.11 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002159/1.782, allocations: 454.3 kB / 0.9289 GB, free: 20.66 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0487/1.831, allocations: 17.6 MB / 0.9461 GB, free: 7.09 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.872e-05/1.831, allocations: 36 kB / 0.9461 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.535e-05/1.831, allocations: 28 kB / 0.9462 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001149/1.831, allocations: 22.7 kB / 0.9462 GB, free: 7.023 MB / 0.5573 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.06363/1.895, allocations: 22.72 MB / 0.9684 GB, free: 5.195 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.658e-05/1.895, allocations: 3.938 kB / 0.9684 GB, free: 5.191 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002643/1.898, allocations: 408.2 kB / 0.9688 GB, free: 4.793 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02317/1.921, allocations: 6.903 MB / 0.9755 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001108/1.922, allocations: 15.98 kB / 0.9755 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4359/2.358, allocations: 22.26 MB / 0.9973 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/2.358, allocations: 6.484 kB / 0.9973 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05929/2.417, allocations: 20.45 MB / 1.017 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002108/2.419, allocations: 0.5505 MB / 1.018 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002355/2.422, allocations: 5.312 kB / 1.018 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006126/2.428, allocations: 431.3 kB / 1.018 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003476/2.431, allocations: 0.7688 MB / 1.019 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006112/2.432, allocations: 92.88 kB / 1.019 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.004515/2.437, allocations: 1.794 MB / 1.021 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.7e-07/2.437, allocations: 1 kB / 1.021 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01391/2.451, allocations: 2.607 MB / 1.023 GB, free: 111.1 MB / 0.5886 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.0649/2.515, allocations: 21.14 MB / 1.044 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03963/2.555, allocations: 13.97 MB / 1.058 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/2.555, allocations: 0 / 1.058 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01741/2.573, allocations: 5.852 MB / 1.063 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004007/2.577, allocations: 251.2 kB / 1.064 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01592/2.593, allocations: 6.413 MB / 1.07 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002202/2.595, allocations: 2.597 MB / 1.072 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002903/2.598, allocations: 0.6026 MB / 1.073 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002207/2.6, allocations: 1.902 MB / 1.075 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of SimCode: time 2.074e-06/2.6, allocations: 0 / 1.075 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.634/3.234, allocations: 138.7 MB / 1.21 GB, free: 97.68 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/3.234, allocations: 141.2 kB / 1.21 GB, free: 97.49 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/11.13, allocations: 0.875 kB / 1.21 GB, free: 97.49 MB / 0.5886 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)