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.00176/0.00176, allocations: 79.11 kB / 19.76 MB, free: 2.031 MB / 14.72 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.416/1.416, allocations: 177.2 MB / 200.1 MB, free: 8.336 MB / 190.1 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.001878/0.001878, allocations: 162.2 kB / 256.6 MB, free: 4.285 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4759/0.4759, allocations: 59.75 MB / 372.7 MB, free: 46.86 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002574/0.002574, allocations: 96.09 kB / 0.5224 GB, free: 29.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1339, allocations: 73.27 MB / 0.5939 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006154/0.14, allocations: 4.38 MB / 0.5982 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003457/0.1435, allocations: 1.556 MB / 0.5997 GB, free: 9.055 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003062/0.1438, allocations: 11.94 kB / 0.5997 GB, free: 9.043 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004576/0.1443, allocations: 162.6 kB / 0.5999 GB, free: 8.883 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001623/0.1459, allocations: 0.6757 MB / 0.6005 GB, free: 8.207 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008899/0.1468, allocations: 406.3 kB / 0.6009 GB, free: 7.812 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001381/0.1482, allocations: 1.079 MB / 0.602 GB, free: 6.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.1485, allocations: 138.5 kB / 0.6021 GB, free: 6.582 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005805/0.1491, allocations: 470.2 kB / 0.6026 GB, free: 6.121 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007121/0.1498, allocations: 0.5171 MB / 0.6031 GB, free: 5.602 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.1499, allocations: 100 kB / 0.6032 GB, free: 5.504 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004632/0.1504, allocations: 235.9 kB / 0.6034 GB, free: 5.273 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.1506, allocations: 231 kB / 0.6036 GB, free: 5.047 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004027/0.151, allocations: 390 kB / 0.604 GB, free: 4.664 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.1525, allocations: 1.284 MB / 0.6052 GB, free: 3.375 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1525, allocations: 0 / 0.6052 GB, free: 3.375 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1525, allocations: 0 / 0.6052 GB, free: 3.375 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.1525, allocations: 0 / 0.6052 GB, free: 3.375 MB / 462.1 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.005585/0.1581, allocations: 1.735 MB / 0.6069 GB, free: 1.605 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1581, allocations: 8.031 kB / 0.6069 GB, free: 1.598 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003404/0.1615, allocations: 0.5231 MB / 0.6075 GB, free: 1.074 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009932/0.1625, allocations: 0.5859 MB / 0.608 GB, free: 468 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002376/0.1628, allocations: 201.5 kB / 0.6082 GB, free: 236 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.1629, allocations: 48 kB / 0.6083 GB, free: 188 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.1643, allocations: 0.6545 MB / 0.6089 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.1643, allocations: 4 kB / 0.6089 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.076e-05/0.1643, allocations: 16 kB / 0.6089 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.1643, allocations: 12 kB / 0.6089 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.1657, allocations: 0.6285 MB / 0.6095 GB, free: 14.86 MB / 478.1 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.004306/0.17, allocations: 2.031 MB / 0.6115 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01262/0.1826, allocations: 2.603 MB / 0.6141 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009728/0.1836, allocations: 406.2 kB / 0.6145 GB, free: 9.773 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.985e-05/0.1836, allocations: 4.5 kB / 0.6145 GB, free: 9.766 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.1837, allocations: 43 kB / 0.6145 GB, free: 9.715 MB / 478.1 MB Notification: Performance of pre-optimization done (n=57): time 2.134e-06/0.1837, allocations: 0 / 0.6145 GB, free: 9.715 MB / 478.1 MB Notification: Performance of matching and sorting (n=57): time 0.01307/0.1967, allocations: 3.292 MB / 0.6177 GB, free: 6.406 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.1968, allocations: 59.91 kB / 0.6178 GB, free: 6.332 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.1981, allocations: 0.7505 MB / 0.6185 GB, free: 5.57 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.521e-05/0.1982, allocations: 37.7 kB / 0.6185 GB, free: 5.527 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.1985, allocations: 361.1 kB / 0.6189 GB, free: 5.172 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/0.1987, allocations: 222.2 kB / 0.6191 GB, free: 4.953 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003168/0.199, allocations: 162.5 kB / 0.6193 GB, free: 4.789 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.1993, allocations: 394.7 kB / 0.6196 GB, free: 4.395 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.2003, allocations: 0.49 MB / 0.6201 GB, free: 3.902 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.2014, allocations: 0.5874 MB / 0.6207 GB, free: 3.293 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01671/0.2181, allocations: 3.646 MB / 0.6242 GB, free: 15.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/0.2181, allocations: 7.938 kB / 0.6243 GB, free: 15.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.007816/0.226, allocations: 2.357 MB / 0.6266 GB, free: 13.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.226, allocations: 10.03 kB / 0.6266 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.226, allocations: 0 / 0.6266 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004401/0.2304, allocations: 1.045 MB / 0.6276 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009222/0.2313, allocations: 147.7 kB / 0.6277 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.2432, allocations: 4.851 MB / 0.6325 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.2445, allocations: 103.5 kB / 0.6326 GB, free: 6.969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.2447, allocations: 39.92 kB / 0.6326 GB, free: 6.93 MB / 494.1 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 (89): * Single equations (assignments): 86 * 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.0006028/0.2453, allocations: 205.7 kB / 0.6328 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002665/0.2456, allocations: 83.44 kB / 0.6329 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00644/0.252, allocations: 1.932 MB / 0.6348 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.252, allocations: 8 kB / 0.6348 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/0.252, allocations: 11.98 kB / 0.6348 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.252, allocations: 3.984 kB / 0.6348 GB, free: 4.664 MB / 494.1 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.007786/0.2598, allocations: 2.614 MB / 0.6373 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.2598, allocations: 3.938 kB / 0.6373 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005339/0.2604, allocations: 67.89 kB / 0.6374 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003568/0.2639, allocations: 0.9368 MB / 0.6383 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-05/0.264, allocations: 12 kB / 0.6383 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009518/0.2735, allocations: 3.896 MB / 0.6421 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2735, allocations: 0 / 0.6421 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007757/0.2813, allocations: 2.506 MB / 0.6446 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003992/0.2817, allocations: 95.39 kB / 0.6447 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/0.2819, allocations: 16.12 kB / 0.6447 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008728/0.2828, allocations: 51.94 kB / 0.6447 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004133/0.2832, allocations: 128.2 kB / 0.6449 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.875e-05/0.2832, allocations: 19.92 kB / 0.6449 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008744/0.2841, allocations: 0.5108 MB / 0.6454 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.2841, allocations: 4 kB / 0.6454 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001242/0.2853, allocations: 291.8 kB / 0.6457 GB, free: 9.34 MB / 0.4981 GB 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.0003005/0.2856, allocations: 123.1 kB / 0.6458 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004751/0.2904, allocations: 1.485 MB / 0.6472 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2904, allocations: 4.062 kB / 0.6472 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002937/0.2933, allocations: 0.8854 MB / 0.6481 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/0.294, allocations: 60.56 kB / 0.6482 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.2972, allocations: 1.536 MB / 0.6497 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/0.2977, allocations: 348.6 kB / 0.65 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003172/0.298, allocations: 69.12 kB / 0.6501 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.2983, allocations: 52.48 kB / 0.6501 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of SimCode: time 8.82e-07/0.2983, allocations: 0 / 0.6501 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of Templates: time 0.02896/0.3272, allocations: 15.53 MB / 0.6653 GB, free: 5.23 MB / 0.5137 GB " [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=480 -s ida -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.434692649985664] Failed to read output from testmodel.py, exit status != 0: 0.3364880350418389 0.352523245 0.19683187699999996 Calling exit ...