Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006412/0.006412, allocations: 170.9 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.001039, allocations: 78.89 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06427/0.06427, allocations: 12.2 MB / 330.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.434/0.434, allocations: 78.53 MB / 459.6 MB, free: 4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006097/0.00061, allocations: 14.56 kB / 0.528 GB, free: 35.36 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1344, allocations: 69.24 MB / 0.5956 GB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.2613, allocations: 98.8 MB / 0.6921 GB, free: 1.371 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.2615, allocations: 71.95 kB / 0.6922 GB, free: 1.301 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3218/0.5834, allocations: 19.96 MB / 0.7117 GB, free: 95.98 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5834, allocations: 0 / 0.7117 GB, free: 95.98 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.131e-05/0.5835, allocations: 12.81 kB / 0.7117 GB, free: 95.98 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003313/0.5868, allocations: 1.398 MB / 0.7131 GB, free: 95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.5869, allocations: 13.48 kB / 0.7131 GB, free: 94.99 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.587, allocations: 90.36 kB / 0.7132 GB, free: 94.91 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002355/0.5893, allocations: 385.9 kB / 0.7135 GB, free: 94.74 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009084/0.5903, allocations: 0.5711 MB / 0.7141 GB, free: 94.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.5904, allocations: 151 kB / 0.7142 GB, free: 94.12 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.5905, allocations: 51.12 kB / 0.7143 GB, free: 94.1 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.5919, allocations: 0.6886 MB / 0.7149 GB, free: 93.71 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.5919, allocations: 0 / 0.7149 GB, free: 93.71 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.427e-05/0.5919, allocations: 19.59 kB / 0.715 GB, free: 93.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.592, allocations: 12.44 kB / 0.715 GB, free: 93.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.5932, allocations: 0.6645 MB / 0.7156 GB, free: 93.39 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.003932/0.5971, allocations: 2.599 MB / 0.7182 GB, free: 91.37 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/0.6089, allocations: 3.769 MB / 0.7218 GB, free: 89.37 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.609, allocations: 16.53 kB / 0.7219 GB, free: 89.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.6091, allocations: 39.12 kB / 0.7219 GB, free: 89.31 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 2.736e-06/0.6091, allocations: 0 / 0.7219 GB, free: 89.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.01218/0.6213, allocations: 4.318 MB / 0.7261 GB, free: 84.92 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.6213, allocations: 59.97 kB / 0.7262 GB, free: 84.85 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009185/0.6222, allocations: 0.66 MB / 0.7268 GB, free: 84.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.079e-05/0.6223, allocations: 33.7 kB / 0.7268 GB, free: 84.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.6225, allocations: 372.7 kB / 0.7272 GB, free: 83.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.6227, allocations: 205 kB / 0.7274 GB, free: 83.57 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.6228, allocations: 12 kB / 0.7274 GB, free: 83.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.216e-05/0.6228, allocations: 329.9 kB / 0.7277 GB, free: 83.23 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006669/0.6235, allocations: 421.1 kB / 0.7281 GB, free: 82.82 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000693/0.6242, allocations: 497.8 kB / 0.7286 GB, free: 82.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007195/0.6249, allocations: 458.9 kB / 0.729 GB, free: 81.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.6249, allocations: 0 / 0.729 GB, free: 81.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.005945/0.6309, allocations: 2.398 MB / 0.7314 GB, free: 79.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.6309, allocations: 8 kB / 0.7314 GB, free: 79.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.6309, allocations: 0 / 0.7314 GB, free: 79.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003874/0.6348, allocations: 1.2 MB / 0.7326 GB, free: 78.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004288/0.6353, allocations: 95.77 kB / 0.7327 GB, free: 78.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009501/0.6448, allocations: 6.532 MB / 0.739 GB, free: 71.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.6458, allocations: 107.4 kB / 0.7391 GB, free: 71.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/0.6459, allocations: 19.98 kB / 0.7392 GB, free: 71.2 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.machine.e2d:VARIABLE(start = G1.machine.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {7 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004024/0.6463, allocations: 203.2 kB / 0.7393 GB, free: 70.99 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.6465, allocations: 82.97 kB / 0.7394 GB, free: 70.91 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005369/0.6518, allocations: 2.289 MB / 0.7417 GB, free: 68.59 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6518, allocations: 4 kB / 0.7417 GB, free: 68.59 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.6519, allocations: 11.95 kB / 0.7417 GB, free: 68.58 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.6519, allocations: 3.984 kB / 0.7417 GB, free: 68.57 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.006315/0.6582, allocations: 3.38 MB / 0.745 GB, free: 65.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.6582, allocations: 0 / 0.745 GB, free: 65.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/0.6586, allocations: 71.86 kB / 0.7451 GB, free: 65.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00302/0.6617, allocations: 1.076 MB / 0.7461 GB, free: 63.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.6618, allocations: 8 kB / 0.7461 GB, free: 63.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007011/0.6688, allocations: 4.287 MB / 0.7503 GB, free: 59.52 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6688, allocations: 0 / 0.7503 GB, free: 59.52 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006414/0.6752, allocations: 2.889 MB / 0.7531 GB, free: 56.61 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/0.6756, allocations: 187.9 kB / 0.7533 GB, free: 56.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/0.6759, allocations: 16.12 kB / 0.7533 GB, free: 56.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008822/0.6768, allocations: 75.88 kB / 0.7534 GB, free: 56.31 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003228/0.6771, allocations: 116.4 kB / 0.7535 GB, free: 56.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-05/0.6772, allocations: 15.98 kB / 0.7535 GB, free: 56.18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000729/0.6779, allocations: 0.507 MB / 0.754 GB, free: 55.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6779, allocations: 0 / 0.754 GB, free: 55.68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001066/0.679, allocations: 291.5 kB / 0.7543 GB, free: 55.39 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006609/0.6856, allocations: 3.478 MB / 0.7577 GB, free: 51.87 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003676/0.6893, allocations: 1.805 MB / 0.7594 GB, free: 50 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6893, allocations: 0 / 0.7594 GB, free: 50 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002448/0.6918, allocations: 1.209 MB / 0.7606 GB, free: 48.73 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006838/0.6925, allocations: 54.98 kB / 0.7607 GB, free: 48.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.7055, allocations: 7.947 MB / 0.7684 GB, free: 40.57 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.7058, allocations: 0.9612 MB / 0.7694 GB, free: 39.57 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000257/0.7061, allocations: 48.56 kB / 0.7694 GB, free: 39.52 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/0.7065, allocations: 283.3 kB / 0.7697 GB, free: 39.25 MB / 474.7 MB Notification: Performance of SimCode: time 1.373e-06/0.7065, allocations: 0 / 0.7697 GB, free: 39.25 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03181/0.7383, allocations: 19.69 MB / 0.7889 GB, free: 19.71 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/0.7385, allocations: 188.9 kB / 0.7891 GB, free: 19.47 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.372/3.111, allocations: 0 / 0.7891 GB, free: 19.47 MB / 474.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)