Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_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.001084/0.001084, allocations: 176.2 kB / 7.648 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.335/1.335, allocations: 221.5 MB / 229.6 MB, free: 7.527 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.0008613/0.0008615, allocations: 91.59 kB / 280.5 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4998/0.4998, allocations: 78.95 MB / 410.2 MB, free: 6.027 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.351e-05/2.353e-05, allocations: 0 / 486 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1638, allocations: 69.51 MB / 0.5425 GB, free: 5.816 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4717/0.6355, allocations: 101.8 MB / 0.642 GB, free: 12.1 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.6359, allocations: 75.95 kB / 0.6421 GB, free: 12.02 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2582/0.8941, allocations: 99.68 MB / 0.7394 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8941, allocations: 0 / 0.7394 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003832/0.8945, allocations: 87.94 kB / 0.7395 GB, free: 7.887 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.02062/0.9151, allocations: 5.723 MB / 0.7451 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.82e-05/0.9152, allocations: 12.03 kB / 0.7451 GB, free: 2.074 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01841/0.9337, allocations: 2.779 MB / 0.7478 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006905/0.9406, allocations: 2.267 MB / 0.75 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001019/0.9417, allocations: 0.8307 MB / 0.7508 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001479/0.9432, allocations: 208 kB / 0.751 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008755/0.9519, allocations: 3.431 MB / 0.7544 GB, free: 8.348 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01159/0.9636, allocations: 3.59 MB / 0.7579 GB, free: 4.727 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001517/0.9638, allocations: 0 / 0.7579 GB, free: 4.727 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001118/0.9649, allocations: 0 / 0.7579 GB, free: 4.727 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.505e-05/0.9651, allocations: 84 kB / 0.758 GB, free: 4.645 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.3454/1.31, allocations: 18.12 MB / 0.7757 GB, free: 85.84 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009834/1.32, allocations: 4.645 MB / 0.7802 GB, free: 85.41 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003899/1.324, allocations: 2.109 MB / 0.7822 GB, free: 85.38 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000522/1.325, allocations: 71.55 kB / 0.7823 GB, free: 85.38 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/1.325, allocations: 69.92 kB / 0.7824 GB, free: 85.34 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=380): time 6.593e-06/1.325, allocations: 0.7031 kB / 0.7824 GB, free: 85.34 MB / 0.5573 GB Notification: Performance of matching and sorting (n=380): time 0.05326/1.378, allocations: 17.16 MB / 0.7991 GB, free: 84.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/1.378, allocations: 169 kB / 0.7993 GB, free: 84.34 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005602/1.384, allocations: 2.436 MB / 0.8017 GB, free: 84.06 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.00116/1.385, allocations: 25.7 kB / 0.8017 GB, free: 84.03 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001744/1.387, allocations: 1.99 MB / 0.8036 GB, free: 83.61 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002094/1.389, allocations: 1.253 MB / 0.8049 GB, free: 82.94 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003055/1.389, allocations: 0 / 0.8049 GB, free: 82.94 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002003/1.389, allocations: 443.7 kB / 0.8053 GB, free: 82.63 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002937/1.392, allocations: 1.747 MB / 0.807 GB, free: 82.62 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003387/1.396, allocations: 2.305 MB / 0.8093 GB, free: 82.06 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003391/1.399, allocations: 1.95 MB / 0.8112 GB, free: 81.99 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.483e-05/1.399, allocations: 4.156 kB / 0.8112 GB, free: 81.99 MB / 0.5573 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.04953/1.449, allocations: 17.25 MB / 0.828 GB, free: 80.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001069/1.45, allocations: 6.664 MB / 0.8345 GB, free: 73.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.852e-05/1.45, allocations: 14.91 kB / 0.8345 GB, free: 73.87 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02134/1.471, allocations: 6.841 MB / 0.8412 GB, free: 73.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002685/1.474, allocations: 0.5385 MB / 0.8417 GB, free: 73.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05264/1.527, allocations: 25.03 MB / 0.8662 GB, free: 64.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005926/1.533, allocations: 0.639 MB / 0.8668 GB, free: 64.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009159/1.534, allocations: 131.1 kB / 0.8669 GB, free: 64 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/1.534, allocations: 3.5 kB / 0.8669 GB, free: 64 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04737/1.581, allocations: 16.77 MB / 0.8833 GB, free: 58.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/1.581, allocations: 12.69 kB / 0.8833 GB, free: 58.83 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02244/1.604, allocations: 6.846 MB / 0.89 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002906/1.607, allocations: 0.5332 MB / 0.8905 GB, free: 53.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05324/1.66, allocations: 25.03 MB / 0.915 GB, free: 31.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006422/1.666, allocations: 0.6048 MB / 0.9156 GB, free: 30.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/1.668, allocations: 138.9 kB / 0.9157 GB, free: 30.41 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.001317/1.669, allocations: 202.6 kB / 0.9159 GB, free: 30.2 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04884/1.718, allocations: 17.16 MB / 0.9326 GB, free: 16.71 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002374/1.72, allocations: 450.4 kB / 0.9331 GB, free: 16.27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05013/1.77, allocations: 17.59 MB / 0.9503 GB, free: 2.695 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.587e-05/1.77, allocations: 36 kB / 0.9503 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.69e-05/1.77, allocations: 28 kB / 0.9503 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001267/1.771, allocations: 23.12 kB / 0.9503 GB, free: 2.629 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.06541/1.836, allocations: 22.52 MB / 0.9723 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-05/1.836, allocations: 0 / 0.9723 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002676/1.839, allocations: 403.5 kB / 0.9727 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02385/1.863, allocations: 6.907 MB / 0.9795 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009516/1.864, allocations: 19.98 kB / 0.9795 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.375/2.239, allocations: 22.25 MB / 1.001 GB, free: 114.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/2.239, allocations: 0 / 1.001 GB, free: 114.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05506/2.294, allocations: 20.45 MB / 1.021 GB, free: 113.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/2.295, allocations: 0.5533 MB / 1.022 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008805/2.296, allocations: 3.781 kB / 1.022 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00541/2.302, allocations: 448.4 kB / 1.022 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003307/2.305, allocations: 0.7662 MB / 1.023 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003585/2.305, allocations: 92.56 kB / 1.023 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003185/2.309, allocations: 1.803 MB / 1.025 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.81e-07/2.309, allocations: 0 / 1.025 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.009124/2.318, allocations: 2.608 MB / 1.027 GB, free: 112.7 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.05591/2.374, allocations: 21.13 MB / 1.048 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03713/2.411, allocations: 13.97 MB / 1.062 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/2.411, allocations: 0 / 1.062 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01675/2.428, allocations: 5.844 MB / 1.067 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/2.431, allocations: 250 kB / 1.068 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/2.445, allocations: 6.419 MB / 1.074 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/2.446, allocations: 2.59 MB / 1.076 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002875/2.449, allocations: 0.6057 MB / 1.077 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001837/2.451, allocations: 1.91 MB / 1.079 GB, free: 105 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/2.451, allocations: 0 / 1.079 GB, free: 105 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5455/2.997, allocations: 138.8 MB / 1.214 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/2.997, allocations: 139.7 kB / 1.214 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.719/10.72, allocations: 4.844 kB / 1.214 GB, free: 103.9 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)