Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_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.001059/0.001059, 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.355/1.355, allocations: 221.5 MB / 229.6 MB, free: 7.609 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.0008691/0.000869, allocations: 96.84 kB / 280.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5166/0.5166, allocations: 78.95 MB / 410.2 MB, free: 6.023 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.96e-05, allocations: 3.984 kB / 486 MB, free: 11.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1649, allocations: 69.51 MB / 0.5425 GB, free: 5.844 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4657/0.6307, allocations: 102.1 MB / 0.6423 GB, free: 11.85 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.631, allocations: 81.33 kB / 0.6423 GB, free: 11.77 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2638/0.8948, allocations: 100.2 MB / 0.7402 GB, free: 7.211 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8949, allocations: 0 / 0.7402 GB, free: 7.211 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0005679/0.8954, allocations: 83.94 kB / 0.7403 GB, free: 7.129 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: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.02004/0.9155, allocations: 5.762 MB / 0.7459 GB, free: 1.289 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.9156, allocations: 8.031 kB / 0.7459 GB, free: 1.281 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.018/0.9336, allocations: 2.781 MB / 0.7486 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007345/0.941, allocations: 2.286 MB / 0.7509 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001246/0.9422, allocations: 0.8346 MB / 0.7517 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001665/0.9439, allocations: 203.9 kB / 0.7519 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009649/0.9536, allocations: 3.447 MB / 0.7552 GB, free: 7.516 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01119/0.9648, allocations: 3.598 MB / 0.7587 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000138/0.965, allocations: 1.219 kB / 0.7587 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009655/0.966, allocations: 0 / 0.7587 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.345e-05/0.9661, allocations: 84 kB / 0.7588 GB, free: 3.805 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.3446/1.311, allocations: 18.16 MB / 0.7766 GB, free: 84.85 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/1.322, allocations: 4.663 MB / 0.7811 GB, free: 84.41 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004232/1.326, allocations: 2.126 MB / 0.7832 GB, free: 84.39 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006314/1.327, allocations: 71.23 kB / 0.7833 GB, free: 84.38 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.97e-05/1.327, allocations: 74 kB / 0.7833 GB, free: 84.34 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=381): time 9.397e-06/1.327, allocations: 0 / 0.7833 GB, free: 84.34 MB / 0.5573 GB Notification: Performance of matching and sorting (n=381): time 0.05824/1.385, allocations: 17.18 MB / 0.8001 GB, free: 83.48 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/1.385, allocations: 172.1 kB / 0.8003 GB, free: 83.32 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006043/1.391, allocations: 2.471 MB / 0.8027 GB, free: 83.04 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001299/1.392, allocations: 27.67 kB / 0.8027 GB, free: 83.01 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001717/1.394, allocations: 2.008 MB / 0.8047 GB, free: 82.58 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002365/1.397, allocations: 1.251 MB / 0.8059 GB, free: 81.92 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003418/1.397, allocations: 0 / 0.8059 GB, free: 81.92 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002628/1.397, allocations: 440.6 kB / 0.8063 GB, free: 81.61 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003424/1.401, allocations: 1.761 MB / 0.808 GB, free: 81.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003983/1.405, allocations: 2.316 MB / 0.8103 GB, free: 81.04 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004058/1.409, allocations: 1.964 MB / 0.8122 GB, free: 80.96 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.797e-05/1.409, allocations: 4.531 kB / 0.8122 GB, free: 80.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.05568/1.464, allocations: 17.26 MB / 0.8291 GB, free: 79.89 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001487/1.466, allocations: 6.685 MB / 0.8356 GB, free: 72.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.027e-05/1.466, allocations: 16.27 kB / 0.8356 GB, free: 72.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02357/1.49, allocations: 6.813 MB / 0.8423 GB, free: 72.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003277/1.493, allocations: 0.5646 MB / 0.8428 GB, free: 72.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05588/1.549, allocations: 24.92 MB / 0.8671 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006706/1.556, allocations: 0.6364 MB / 0.8678 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008499/1.557, allocations: 136.1 kB / 0.8679 GB, free: 62.72 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/1.557, allocations: 5.219 kB / 0.8679 GB, free: 62.72 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04921/1.606, allocations: 16.79 MB / 0.8843 GB, free: 56.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.947e-05/1.606, allocations: 12 kB / 0.8843 GB, free: 56.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02215/1.628, allocations: 6.814 MB / 0.891 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003128/1.631, allocations: 0.5616 MB / 0.8915 GB, free: 51.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05309/1.684, allocations: 24.91 MB / 0.9158 GB, free: 29.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006057/1.69, allocations: 0.6034 MB / 0.9164 GB, free: 28.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007685/1.691, allocations: 132 kB / 0.9166 GB, free: 28.58 MB / 0.5573 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (326): * Single equations (assignments): 323 * 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 43} Notification: Performance of prepare postOptimizeDAE: time 0.001023/1.692, allocations: 209.8 kB / 0.9168 GB, free: 28.37 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04822/1.741, allocations: 17.18 MB / 0.9335 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002077/1.743, allocations: 454.4 kB / 0.934 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04904/1.792, allocations: 17.63 MB / 0.9512 GB, free: 0.8086 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-05/1.792, allocations: 41.22 kB / 0.9512 GB, free: 0.7695 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.565e-05/1.792, allocations: 28.84 kB / 0.9512 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001154/1.792, allocations: 21.91 kB / 0.9513 GB, free: 0.7383 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.06169/1.854, allocations: 22.62 MB / 0.9734 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.232e-05/1.854, allocations: 4.031 kB / 0.9734 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002514/1.856, allocations: 407.5 kB / 0.9738 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02293/1.879, allocations: 6.899 MB / 0.9805 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009105/1.88, allocations: 19.98 kB / 0.9805 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3594/2.24, allocations: 22.27 MB / 1.002 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/2.24, allocations: 3.781 kB / 1.002 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05736/2.297, allocations: 20.49 MB / 1.022 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/2.299, allocations: 0.5595 MB / 1.023 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001707/2.301, allocations: 3.969 kB / 1.023 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00556/2.306, allocations: 448.6 kB / 1.023 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003405/2.31, allocations: 0.7675 MB / 1.024 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004363/2.31, allocations: 94.17 kB / 1.024 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003806/2.314, allocations: 1.83 MB / 1.026 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.51e-07/2.314, allocations: 1.656 kB / 1.026 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01043/2.324, allocations: 2.616 MB / 1.028 GB, free: 111 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (251): * Single equations (assignments): 249 * 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.4%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05858/2.383, allocations: 21.18 MB / 1.049 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0392/2.422, allocations: 13.99 MB / 1.063 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/2.422, allocations: 0 / 1.063 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01895/2.441, allocations: 5.849 MB / 1.068 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/2.445, allocations: 245.9 kB / 1.069 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/2.462, allocations: 6.524 MB / 1.075 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001892/2.464, allocations: 2.594 MB / 1.078 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003257/2.468, allocations: 0.6136 MB / 1.078 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002152/2.47, allocations: 1.942 MB / 1.08 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.012e-06/2.47, allocations: 0 / 1.08 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5466/3.016, allocations: 139.3 MB / 1.216 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/3.017, allocations: 136 kB / 1.216 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/10.7, allocations: 0 / 1.216 GB, free: 104.4 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)