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.001026/0.001026, allocations: 175.1 kB / 12.73 MB, free: 2.59 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.291/1.291, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008836/0.0008834, allocations: 82.59 kB / 266.6 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0624/0.0624, allocations: 12.2 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2759/0.2759, allocations: 78.03 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.405e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1299, allocations: 69.25 MB / 0.5889 GB, free: 2.941 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4479/0.5779, allocations: 98.69 MB / 0.6853 GB, free: 1.582 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.5781, allocations: 70.33 kB / 0.6854 GB, free: 1.547 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05174/0.6299, allocations: 19.93 MB / 0.7048 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6299, allocations: 0 / 0.7048 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.707e-05/0.63, allocations: 12 kB / 0.7049 GB, free: 0.6836 MB / 442.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.003226/0.6332, allocations: 1.176 MB / 0.706 GB, free: 15.53 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.6333, allocations: 15.92 kB / 0.706 GB, free: 15.51 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002342/0.6335, allocations: 93.27 kB / 0.7061 GB, free: 15.45 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/0.6358, allocations: 383 kB / 0.7065 GB, free: 15.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.6368, allocations: 0.562 MB / 0.707 GB, free: 14.63 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.637, allocations: 151 kB / 0.7072 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.6371, allocations: 48.94 kB / 0.7072 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009651/0.6381, allocations: 0.5606 MB / 0.7078 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.6381, allocations: 0 / 0.7078 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.985e-05/0.6382, allocations: 21.62 kB / 0.7078 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.6382, allocations: 12 kB / 0.7078 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008443/0.6391, allocations: 0.541 MB / 0.7083 GB, free: 13.75 MB / 458.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.004047/0.6431, allocations: 2.615 MB / 0.7109 GB, free: 11.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/0.6556, allocations: 3.575 MB / 0.7144 GB, free: 8.414 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000525/0.6562, allocations: 360.1 kB / 0.7147 GB, free: 8.223 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.439e-05/0.6563, allocations: 4.562 kB / 0.7147 GB, free: 8.219 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.6563, allocations: 39.06 kB / 0.7147 GB, free: 8.176 MB / 458.7 MB Notification: Performance of pre-optimization done (n=57): time 2.535e-06/0.6563, allocations: 0 / 0.7147 GB, free: 8.176 MB / 458.7 MB Notification: Performance of matching and sorting (n=57): time 0.005257/0.6616, allocations: 1.872 MB / 0.7166 GB, free: 6.637 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.6616, allocations: 59.97 kB / 0.7166 GB, free: 6.562 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008239/0.6625, allocations: 0.6469 MB / 0.7173 GB, free: 6.086 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/0.6625, allocations: 37.12 kB / 0.7173 GB, free: 6.051 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.6627, allocations: 363.4 kB / 0.7176 GB, free: 5.832 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.6629, allocations: 209.4 kB / 0.7178 GB, free: 5.652 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.663, allocations: 14.5 kB / 0.7179 GB, free: 5.648 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.6631, allocations: 332.8 kB / 0.7182 GB, free: 5.324 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/0.6635, allocations: 297.9 kB / 0.7185 GB, free: 5.172 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.6641, allocations: 376.2 kB / 0.7188 GB, free: 4.926 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005241/0.6646, allocations: 340.5 kB / 0.7191 GB, free: 4.734 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6646, allocations: 0 / 0.7191 GB, free: 4.734 MB / 458.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.005617/0.6702, allocations: 2.056 MB / 0.7212 GB, free: 3.043 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.6703, allocations: 8 kB / 0.7212 GB, free: 3.035 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.6703, allocations: 4 kB / 0.7212 GB, free: 3.031 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003634/0.6739, allocations: 0.9788 MB / 0.7221 GB, free: 2.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000476/0.6744, allocations: 83.84 kB / 0.7222 GB, free: 2.102 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008651/0.6831, allocations: 5.41 MB / 0.7275 GB, free: 13.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.6844, allocations: 106.4 kB / 0.7276 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-05/0.6845, allocations: 26.48 kB / 0.7276 GB, free: 13.5 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.machine.e2d:VARIABLE(start = G1.machine.e2d0 unit = "1" ) "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 () * 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.0002601/0.6847, allocations: 134.2 kB / 0.7277 GB, free: 13.38 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.6849, allocations: 75.06 kB / 0.7278 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005424/0.6903, allocations: 1.948 MB / 0.7297 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.6904, allocations: 8 kB / 0.7297 GB, free: 11.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.6904, allocations: 7.953 kB / 0.7297 GB, free: 11.72 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.6904, allocations: 3.984 kB / 0.7297 GB, free: 11.72 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.006589/0.697, allocations: 3.038 MB / 0.7327 GB, free: 9.281 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.697, allocations: 3.953 kB / 0.7327 GB, free: 9.277 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/0.6975, allocations: 71.28 kB / 0.7328 GB, free: 9.211 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002624/0.7001, allocations: 0.8436 MB / 0.7336 GB, free: 8.48 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.985e-05/0.7002, allocations: 13.12 kB / 0.7336 GB, free: 8.477 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00547/0.7056, allocations: 3.366 MB / 0.7369 GB, free: 5.805 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.7057, allocations: 96 / 0.7369 GB, free: 5.805 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005733/0.7114, allocations: 2.435 MB / 0.7393 GB, free: 3.938 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/0.7117, allocations: 186 kB / 0.7395 GB, free: 3.758 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.7118, allocations: 10.81 kB / 0.7395 GB, free: 3.754 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007355/0.7126, allocations: 71.38 kB / 0.7395 GB, free: 3.691 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003084/0.7129, allocations: 114.4 kB / 0.7396 GB, free: 3.594 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-05/0.713, allocations: 19.23 kB / 0.7397 GB, free: 3.578 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000639/0.7136, allocations: 0.5047 MB / 0.7402 GB, free: 3.219 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7136, allocations: 0 / 0.7402 GB, free: 3.219 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000894/0.7145, allocations: 294.5 kB / 0.7404 GB, free: 2.957 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 () * 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.006165/0.7207, allocations: 3.007 MB / 0.7434 GB, free: 44 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003368/0.7241, allocations: 1.555 MB / 0.7449 GB, free: 14.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7241, allocations: 4.062 kB / 0.7449 GB, free: 14.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002377/0.7265, allocations: 1.079 MB / 0.7459 GB, free: 13.28 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.7269, allocations: 50.98 kB / 0.746 GB, free: 13.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.7291, allocations: 1.349 MB / 0.7473 GB, free: 11.85 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.7296, allocations: 0.9688 MB / 0.7483 GB, free: 10.85 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002473/0.7298, allocations: 48.56 kB / 0.7483 GB, free: 10.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004955/0.7303, allocations: 279.3 kB / 0.7486 GB, free: 10.53 MB / 490.7 MB Notification: Performance of SimCode: time 6.61e-07/0.7303, allocations: 0 / 0.7486 GB, free: 10.53 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03423/0.7646, allocations: 19.58 MB / 0.7677 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.7648, allocations: 168.2 kB / 0.7678 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.63/3.395, allocations: 0 / 0.7678 GB, free: 6.812 MB / 0.4948 GB (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)