Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.57/1.57, allocations: 177.1 MB / 199.7 MB, free: 5.805 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002219/0.002219, allocations: 168.6 kB / 256.3 MB, free: 13.16 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.5021/0.5021, allocations: 80.25 MB / 393 MB, free: 2.223 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 489.1 MB, free: 11.81 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.257e-05/3.452e-05, allocations: 2.531 kB / 489.1 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.007591/0.007625, allocations: 4.689 MB / 493.8 MB, free: 7.102 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004084/0.01171, allocations: 1.61 MB / 495.4 MB, free: 5.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004351/0.01215, allocations: 4.719 kB / 495.4 MB, free: 5.496 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004923/0.01264, allocations: 158.6 kB / 495.5 MB, free: 5.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.01451, allocations: 0.6907 MB / 496.2 MB, free: 4.648 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009584/0.01547, allocations: 409.5 kB / 496.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001569/0.01704, allocations: 1.122 MB / 497.7 MB, free: 3.129 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003337/0.01737, allocations: 134.5 kB / 497.9 MB, free: 2.984 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.01838, allocations: 0.6352 MB / 498.5 MB, free: 2.348 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007321/0.01911, allocations: 463.8 kB / 499 MB, free: 1.895 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.01928, allocations: 96 kB / 499.1 MB, free: 1.801 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008005/0.02008, allocations: 251.7 kB / 499.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002916/0.02037, allocations: 232.2 kB / 499.5 MB, free: 1.328 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004736/0.02084, allocations: 319 kB / 499.8 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002146/0.02299, allocations: 1.324 MB / 0.4894 GB, free: 15.69 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.02299, allocations: 0.9062 kB / 0.4894 GB, free: 15.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.02299, allocations: 0 / 0.4894 GB, free: 15.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.02301, allocations: 1.062 kB / 0.4894 GB, free: 15.69 MB / 426.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.006204/0.02921, allocations: 1.884 MB / 0.4913 GB, free: 13.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.02926, allocations: 8.031 kB / 0.4913 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003458/0.03272, allocations: 0.606 MB / 0.4919 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.03398, allocations: 0.6121 MB / 0.4925 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.03425, allocations: 190.9 kB / 0.4926 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.03437, allocations: 56 kB / 0.4927 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.03583, allocations: 0.6288 MB / 0.4933 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.03585, allocations: 0 / 0.4933 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.988e-05/0.03592, allocations: 20 kB / 0.4933 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.03594, allocations: 13.5 kB / 0.4933 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.03727, allocations: 0.5906 MB / 0.4939 GB, free: 11.02 MB / 426.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.005251/0.04252, allocations: 2.242 MB / 0.4961 GB, free: 8.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/0.05312, allocations: 1.972 MB / 0.498 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.05426, allocations: 391.7 kB / 0.4984 GB, free: 6.359 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.05436, allocations: 12.5 kB / 0.4984 GB, free: 6.348 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/0.05441, allocations: 41.89 kB / 0.4985 GB, free: 6.297 MB / 426.7 MB Notification: Performance of pre-optimization done (n=57): time 4.127e-06/0.05442, allocations: 0 / 0.4985 GB, free: 6.297 MB / 426.7 MB Notification: Performance of matching and sorting (n=57): time 0.01223/0.06665, allocations: 2.895 MB / 0.5013 GB, free: 3.383 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/0.06672, allocations: 55.91 kB / 0.5013 GB, free: 3.316 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.06832, allocations: 0.9212 MB / 0.5022 GB, free: 2.375 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001456/0.06847, allocations: 37.69 kB / 0.5023 GB, free: 2.332 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/0.06891, allocations: 439.8 kB / 0.5027 GB, free: 1.898 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/0.06923, allocations: 242.1 kB / 0.5029 GB, free: 1.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004024/0.06963, allocations: 204.2 kB / 0.5031 GB, free: 1.453 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004138/0.07005, allocations: 0.6094 MB / 0.5037 GB, free: 0.832 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.07111, allocations: 461.8 kB / 0.5042 GB, free: 392 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.0723, allocations: 0.6096 MB / 0.5047 GB, free: 15.74 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003248/0.07555, allocations: 1.604 MB / 0.5063 GB, free: 14.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.07555, allocations: 0 / 0.5063 GB, free: 14.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.007444/0.083, allocations: 2.186 MB / 0.5084 GB, free: 11.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.08304, allocations: 11.94 kB / 0.5085 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.08305, allocations: 3.984 kB / 0.5085 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00646/0.08951, allocations: 1.204 MB / 0.5096 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009435/0.09045, allocations: 147.7 kB / 0.5098 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/0.1022, allocations: 5.17 MB / 0.5148 GB, free: 5.223 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.1035, allocations: 91.47 kB / 0.5149 GB, free: 5.133 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-05/0.1036, allocations: 35.92 kB / 0.515 GB, free: 5.098 MB / 442.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005436/0.1041, allocations: 252.5 kB / 0.5152 GB, free: 4.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.1044, allocations: 103.5 kB / 0.5153 GB, free: 4.738 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006014/0.1104, allocations: 1.741 MB / 0.517 GB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/0.1104, allocations: 8 kB / 0.517 GB, free: 2.961 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.1104, allocations: 8 kB / 0.517 GB, free: 2.953 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.1105, allocations: 7.969 kB / 0.517 GB, free: 2.945 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007532/0.118, allocations: 2.591 MB / 0.5195 GB, free: 300 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.118, allocations: 0 / 0.5195 GB, free: 300 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/0.1185, allocations: 59.97 kB / 0.5196 GB, free: 240 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005259/0.1238, allocations: 1.07 MB / 0.5206 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/0.1239, allocations: 16 kB / 0.5207 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009163/0.1331, allocations: 4.24 MB / 0.5248 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1331, allocations: 3.938 kB / 0.5248 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007253/0.1404, allocations: 2.355 MB / 0.5271 GB, free: 8.383 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004395/0.1408, allocations: 103.3 kB / 0.5272 GB, free: 8.281 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.1409, allocations: 12 kB / 0.5272 GB, free: 8.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007464/0.1417, allocations: 39.95 kB / 0.5273 GB, free: 8.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004242/0.1421, allocations: 116.3 kB / 0.5274 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.593e-05/0.1422, allocations: 23.92 kB / 0.5274 GB, free: 8.094 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008796/0.143, allocations: 0.5888 MB / 0.528 GB, free: 7.508 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.143, allocations: 8 kB / 0.528 GB, free: 7.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00116/0.1442, allocations: 299.7 kB / 0.5283 GB, free: 7.207 MB / 458.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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003398/0.1445, allocations: 126.9 kB / 0.5284 GB, free: 7.078 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004596/0.1491, allocations: 1.518 MB / 0.5299 GB, free: 5.527 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.1491, allocations: 4.125 kB / 0.5299 GB, free: 5.523 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002766/0.1519, allocations: 0.9179 MB / 0.5308 GB, free: 4.578 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007453/0.1526, allocations: 70.95 kB / 0.5308 GB, free: 4.512 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.1556, allocations: 1.44 MB / 0.5322 GB, free: 3.035 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.156, allocations: 352.6 kB / 0.5326 GB, free: 2.66 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003014/0.1563, allocations: 69.06 kB / 0.5326 GB, free: 2.59 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.1565, allocations: 48.5 kB / 0.5327 GB, free: 2.543 MB / 458.7 MB Notification: Performance of SimCode: time 1.784e-06/0.1565, allocations: 4 kB / 0.5327 GB, free: 2.539 MB / 458.7 MB Notification: Performance of Templates: time 0.03219/0.1887, allocations: 16.04 MB / 0.5483 GB, free: 2.598 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.5405901240883395]